WatchKit app wont run on simulator

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

    After weeks and weeks of investigations i finally found out the problem.

    The product name of the Iphone App was the same as the product name of the Watch App.

    Once i changed the Product Name of the WatchApp it worked.

    1. go to your targets. Select the watch app target
    2. go to build settings. Search for Product Name
    3. Edit your Product name to be different than the App Target!
    4. Clean and Build. Should Work. Thanks

提交回复
热议问题