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

前端 未结 15 1857
小蘑菇
小蘑菇 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条回答
  •  北海茫月
    2021-01-01 10:42

    I had the same error with my Ionic project when I imported it to Xcode. I had right team selected and right bundle identifier mentioned in the General Tab of the Target (the same team and identifier I had used in App Store to register)as shown in this picture . I had all the certificates/provisioning profiles downloaded needed for the project. Yet it complained.

    How I solved it?

    I checked the Code Signing section in the Build Settings of the Target. Please click here to see. In the Code Signing Identity area, I saw, the Xcode automatically selected iOS Distribution for all section of that area. I then, changed the value for the Debug and Release section to the identity that contained my Team Id. And it worked. All the errors were gone!!!

    In my case, the problem was that the Xcode used to generate its own Team Id (XC) in the previous cases.

    You might also have to manually select the Provisioning Profile too (just in case if the Xcode selects wrong profile)

    I hope this helps someone.

提交回复
热议问题