WatchKit app wont run on simulator

前端 未结 9 1708
旧时难觅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

    I had changed the autogenerated Bundle ID and then hit the same error.

    I found that the value in the WatchKit Extension plist needed to get updated. Do a global search on this "WKAppBundleIdentifier" and then make it match the bundle id of your WatchKit app. This fixed the error for me.

提交回复
热议问题