Gabriel
Gabriel

Reputation: 1215

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.

Upvotes: 7

Views: 4466

Answers (2)

Segev
Segev

Reputation: 19303

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.

enter image description here

Upvotes: 5

Gabriel
Gabriel

Reputation: 1215

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

Upvotes: 17

Related Questions