WatchKit app wont run on simulator

前端 未结 9 1713
旧时难觅i
旧时难觅i 2021-01-04 10:09

error: WatchKit Extension doesn\'t contain any WatchKit apps. Verify that the value of WKWatchKitApp in your WatchKit App\'s Info.plist is set to YES.

9条回答
  •  执念已碎
    2021-01-04 10:59

    I had to change the compiler for extension & watch app, probably because I added Watchkit App to old project.

    Go to Build Settings "Compiler for C/C++/Objective-C" of extension and watch app, and make sure it's "Default Compiler".

提交回复
热议问题