问题
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