WatchKit Extension Bundle ID Unavailable

我只是一个虾纸丫 提交于 2019-12-04 04:10:18

问题


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.

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.

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?


回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/28634443/watchkit-extension-bundle-id-unavailable

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!