Error: WatchKit Extension doesn't contain any WatchKit apps.

送分小仙女□ 提交于 2020-01-03 08:37:07

问题


Verify that the value of WKWatchKitApp in your WatchKit App's Info.plist is set to YES.


回答1:


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.

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




回答2:


It seems like this is the default error msg for random stuff on Xcode 7.

All of a sudden I got that error constantly when trying to Archive. After retracing my steps I've learned that changing the Build Location to Custom - > Relative to WorkSpace is responsible for that error: WatchKit Extension doesn't contain any WatchKit apps..

Setting the Build Location back to Shared Folder -> Build fixed it completely.



来源:https://stackoverflow.com/questions/30099239/error-watchkit-extension-doesnt-contain-any-watchkit-apps

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!