Got this error:
Failed to code sign "xxx WatchKit App".
The provisioning profile specified in your build settings (“xxxWatchAppPushProvisionProfile”) has an AppID of “com.yyy.xxxAppleWatchApp” which does not match your bundle identifier “com.yyy.xxxAppleWatchApp.watchkitapp”.
Xcode can attempt to fix this issue.
I've renamed "com.yyy.xxxAppleWatchApp.watchkitapp" to "com.yyy.xxxAppleWatchApp" but it gives this error instead:
来源:https://stackoverflow.com/questions/30252953/how-to-set-apple-watch-code-signing-identity-and-provisioning-profile-for-push-n