An App ID with Identifier is not available.

I have an existing app with the App ID. I am trying to turn on push notification for it. However, it says "An App ID with Identifier is not available.". I tried deleting all certificates and all profiles and starting all over. But I could not get it to work!



If I manually setting Code Sign Identity it says "No codesigning identities (i.e. certificate and private key pairs) that match your provision profile specified in your built setting were found. If I let it auto-fix it goes back to saying the App ID is not available again.

Answered by JRRevuelta in 133646022

I was dealing with the same for two days, then I found that in order for XCode to find the App Id, it is not enough for the Id to match, but also the App name has to be in a specific format (which I'm sure I didnt't have before, and it used to work).


Go to your Apple Developer "Certificates, Ids, Profiles", and under your App IDs list find the App ID in question and,


If your App ID is in the form: com.myDomain.MyApp

Then the name in your App ID record has to be: "XC com myDomain MyApp"


Don't ask me why, but it works. (is the default name that XCode assigns when you create the record from XCode), but for records that exist prior or that you created directly in the Developer site, the name should be whatever you want... but its not. Some glitch introduced in one of the latest XCode releases.

I'm having the same problem this morning.

same here, completely broken... manually regenerating prov profiles in membercenter seems to workaround for now

Accepted Answer

I was dealing with the same for two days, then I found that in order for XCode to find the App Id, it is not enough for the Id to match, but also the App name has to be in a specific format (which I'm sure I didnt't have before, and it used to work).


Go to your Apple Developer "Certificates, Ids, Profiles", and under your App IDs list find the App ID in question and,


If your App ID is in the form: com.myDomain.MyApp

Then the name in your App ID record has to be: "XC com myDomain MyApp"


Don't ask me why, but it works. (is the default name that XCode assigns when you create the record from XCode), but for records that exist prior or that you created directly in the Developer site, the name should be whatever you want... but its not. Some glitch introduced in one of the latest XCode releases.

Thank you so much. I finally managed to get it work!

Wow is that the craziest solution ever...


I had a lot of entries that Xcode already created like:

"Xcode iOS App ID com xxx xxx"


And renamed to:

"XC com xxx xxx"


And it worked!!!


That means Xcode is not looking up by app bundle id but by this silly naming scheme. I'm sure it's a bug on their end... Thank you for the workaround.

Thanks for this reply.


(When will Apple actually fix their bugs, or at least give meaningful error messages when things go wrong ? It's seriously the most developer-unfriendly company I've ever had to work with. They just don't do error reporting, when things go wrong.)


One question: our company has an app in the App Store, and right now, I can't create an update, as when I log into the Developer Center webpage, the App ID has disappeared, and it won't let me recreate it with that name anymore.


If I were to recreate it using your suggestion ("XC com mikescompany mikesapp") will this definitely create an App which iTunes will recognise as being an update to the existing App Store app ?

An App ID with Identifier is not available.
 
 
Q