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

前端 未结 15 1788
小蘑菇
小蘑菇 2021-01-01 10:39

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 up

相关标签:
15条回答
  • Just need to add prefix in your app id

    Ex:

    1. Name:MyApp
    2. Prefix:KMW5E9785J
    3. ID:com.myapp.app

    it should be KMW5E9785J.com.myapp.app in your Bundle identifier in info.plist

    So No need to change XC or anything from your dev portal

    0 讨论(0)
  • 2021-01-01 10:49

    Just change the name of old bundle identifier and it works.

    0 讨论(0)
  • 2021-01-01 10:50

    I can see lot's of great answers,

    I tried a few of them but no luck, finally I used "Use local signing assets" option to export ipa and it works for me.

    Hopefully this will help someone.

    0 讨论(0)
  • 2021-01-01 10:53

    I was getting this error using Xcode 7.3.1. The cause was using the wrong "Team" on the General tab of the main target. I had my company's Team, and my own AppleID that was a "Free" personal account. After I switched to my company's Team, the error went away.

    0 讨论(0)
  • 2021-01-01 11:00

    I encountered the same problem, I solved it. Validate required appstore certificate. Adhoc and Validate require different certificate.

    0 讨论(0)
  • 2021-01-01 11:01

    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.

    0 讨论(0)
提交回复
热议问题