Search code examples
iosxcodewatchkit

WatchKit Extension Bundle ID Unavailable


I've added a watch kit app to my iOS app and everything was working fine and running well until I wanted to share data between the two apps.

Whenever I try to add the 'App Groups' capability on the watch kit extension, it tells me that my bundle ID (com.myrealappid.watchkitextension) is not available.

WatchKit Extension Bundle ID Unavailable It also informs me that 'No matching provisioning profiles found' in the General tab, and if I try to fix it, it also says that the App ID (com.myrealappid.watchkitextension) is not available.

App ID Unavailable Logging into the members centre I can't find any reference to a bundle ID with the suffix 'watchkitextension'. I also can't re-add this bundle ID within the members centre because it seems to think it already exists as well.

Has anyone come across this before or have any suggestion on how to fix it?


Solution

  • It turns out that another developer account that I use in Xcode had the missing ID. The apps are completely unrelated and belong to different clients of mine so I've no idea how it ended up there.

    I deleted the Bundle ID from that account and everything is working as expected now.

    If this happens anyone else, check any other developer accounts you have access to. That might just be where the missing Bundle ID is.