3

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?

AndyDunn
  • 1,074
  • 1
  • 12
  • 19
  • See my answer to another related question, that should clarify it: http://stackoverflow.com/questions/28816339/watchkit-extension-no-matchin-provisioning-profiles-found/29272260#29272260 – dogsgod Apr 09 '15 at 05:27

2 Answers2

4

It seems like someone already used that specific Bundle Identifier if you can't find it in your member center.

You need to create another Bundle ID in this case.

BalestraPatrick
  • 9,944
  • 4
  • 30
  • 43
  • The problem is the main part of the Bundle ID is already in use by our main iOS app. Adding ".watchkitextension" to the end shouldn't be a problem, because no-one else should have that ID in use. – AndyDunn Feb 23 '15 at 11:37
  • 1
    I had similar issue and in my case I had 2 Apple accounts linked to Xcode and Xcode automatically created a bundle id for the extension extension in the wrong account which made the id 'taken'. – Kostia Kim Feb 23 '15 at 23:55
  • Interesting, thanks @KostyaKim. I'll have to check into that as I have a bunch of Apple accounts setup in Xcode. – AndyDunn Feb 25 '15 at 09:18
4

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.

AndyDunn
  • 1,074
  • 1
  • 12
  • 19