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

前端 未结 15 1787
小蘑菇
小蘑菇 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 11:06

    In my case nothing from above worked until I tried changing my bundle identifier prefix from

    com.xxx.NameOfMyApp to com.xxxYYY.NameOfMyApp.

    I must have accidentally picked a prefix someone else had already used.

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

    OK - I may have a solution. Though you won't like it because it is a major pain. I went to Apple members center, deleted all of my certs all of my profiles and started from scratch.

    I wish I had solid steps to give you to follow but I did so much that I'd honestly just be guessing. In the end here is what I'd suggest:

    1. Revoke all certificates
    2. Delete all provisioning profiles; both in the member center and on your computer.
    3. Create new certificates
    4. Create new provisioning profiles using new certs.

    I'm now able to create adhoc builds and export them using xcode 7.3.

    All of that said, do this with the intention to get into some BS. It took me a long time to get things set up and working again. From re-creating all of the above to countless device, xcode, and computer restarts.

    Now a new issue has come up - dyld: Library not loaded: @rpath/ regarding one of my swift cocoapods ... so more fun. What a wasted day :(

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

    Sometimes after you click on Export the selected Team doesn't match the one in the certificate. You should check that the selected Team is correct if you have multiple teams on the same machine.

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