Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"An App ID with bundle identifier X is not available. Please enter a different string" (Xcode 7.3)

After updating to the latest build of Xcode 7.3 (7D175), every time I try to Export for adhoc distribution I get the above error. Everything was working fine up until the update. The bundle ID is definitely my own, registered to this application. I've tried recreating my certificates, provisioning profiles, deleting old ones, frantically clicking the 'try again' button ... nothing seems to work.

Any one find a solution to this? I saw some others were facing the same problem, but none of their solution seem to work for me (https://stackoverflow.com/a/36192586/1542275, https://stackoverflow.com/a/36175175/1542275)

update: I'm not sure if this is relevant, but for the heck of it I tried to 'validate' the build. I did and it passed. Anyway, just before you fire off the validation you get the information screen that shows you all the details about the attached prov-profile. I noticed that despite selecting my adhoc prov-profile, the information screen (just before validating) said that it was using my distribution profile. I then removed my distribution profile from xcode, re-archived, and now validation is failing. Something weird seems to be going on with archiving, adhoc, and exporting.

like image 251
Warblr Avatar asked Mar 24 '16 17:03

Warblr


People also ask

How do I find my bundle ID Xcode?

Open you project with XCode, select the top project item in the project navigator at the left. Then select TARGETS -> General. Bundle Identifier is found under Identity.

How do I fix failed to create a provisioning profile?

3. How To Fix Xcode Failed To Create Provisioning Profile Error. To fix this error is very easy, just connect your real iOS device such as iPhone to the Mac computer with a USB line, follow the popup screen on the iPhone, then you can select your iOS device in the Set the active scheme drop down list.


2 Answers

I just installed Xcode 7.2.1 and could successfully export AdHoc build with it. While Xcode 7.3 keeps on telling that there is something wrong with bundle identifier.

UPDATE:

Looks like changing the "Name" (not the ID) of App ID in developer portal under "Certificates, Identifiers & Profiles" to the next format "XC com mycompany appname" (in case your app ID was com.mycompany.appname) helps Xcode see your appID. Strange but it's working.

like image 70
AlexanderZ Avatar answered Oct 08 '22 11:10

AlexanderZ


I also encountered the same problem. Xcode7.3 enter image description here

Effective solution is: enter image description here

like image 35
ylgwhyh Avatar answered Oct 08 '22 12:10

ylgwhyh