Code signing identities not found for watchos 2.0

280 views Asked by At

Trying to build the Lister for watchOS, iOS and OSX from https://developer.apple.com/library/prerelease/ios/samplecode/Lister/Listings/Objective_C_ListerKit__WatchOS__AAPLConnectivityListsController_m.html

using Xcode 7.0 beta,

but Xcode 7.0 keep complaining Code Sign error: code signing is required for product type 'Framework' in SDK 'Watch OS 2.0'

I don't understand why is this happening, do I have to create a new certificate for the apple watchos 2.0 manually ?

1

There are 1 answers

0
Lydon Ch On

Deleted active provisioning profiles, and then created a new wildcard provisioning profile, and installed it on dev machine, and everything works now.

What happened was the project was first opened by Xcode 6.3, which generates all the provisioning profiles for all targets, except watchOS, because it does not recognize watchOS, so the provisioning profile for the app.watchos was missing.