WatchKit app wont run on simulator

前端 未结 9 1802
旧时难觅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 11:02

    The solution was really simple. A while back I had removed a few files and re-added them to the extension, but they didn't get added back to compile sources.

    Added the exention's .m files back into it's compile sources and the error went away.

    Very misleading error message.

提交回复
热议问题