It appears that the behavior of the bundle identifier changed when WatchOS 2 appeared.
I used to have an expansion pack id:
com.mycompany.myappname.watchkitextension
Elsewhere in Stackoverflow, it was mentioned that the extension package identifier should be in this format, but no matter what I tried, Xcode kept throwing errors at me.
The only possible solution is to change the extension bundle identifier to:
com.mycompany.myappname.watchkitapp.watchkitextension
I am sure this is not the case with the WatchOS 1 application. The problem with this change is that you cannot generate the application identifier for the package identifier com.mycompany.myappname.watchkitextension . This is optional, just set all provisioning profiles in the build settings in automatic mode and don't forget to use the correct code signing certificate for the / ad -hoc / debug release schemes.
I really found out that this approach works because Xcode suggested fixing the problem, and that is what it did.
edwardmp Sep 30 '15 at 22:09 2015-09-30 22:09
source share