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

前端 未结 15 1786
小蘑菇
小蘑菇 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:41

    I had this problem with a project that I've been working on for years, using Xcode 7.3. But one of my colleagues, who cloned the same Xcode project, doesn't have this problem. After trying several different approaches, I downloaded the development certificate from Apple Developer and installed them manually. It works all of a sudden. My guess is Xcode 7.3 messed up with the automatic "fix the problem" feature.

    0 讨论(0)
  • 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.

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

    i just resolve the problem by delete the Xcode account Provisioning Profiles.and download again. xcode account details

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

    I only had to change the provisioning profile to a different one. I had made one of each type: Development, Ad Hoc Distribution, and Store Distribution.

    Once I changed to Development, the error went away. Seems so simple. But sometimes it is simple, Thanks to God. LOL.

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

    I also encountered the same problem. Xcode7.3

    Effective solution is:

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

    Nothing was working for me in Xcode 7.3. This can save you a lot of time, I solved it this way:

    1. Xcode -> Preferences -> Accounts -> Provisioning Profiles -> Right Click them and move them to trash. Quit Xcode.

    2. Member Center -> Provisioning Profiles -> All -> Deleted everything here (I have a single iOS app). Created a fresh new Profile with my app ID.

    3. Member Center -> App IDs -> My App ID was of the form

    Xcode iOS App ID com myDomain myApp

    . If this is your case, blindly follow along -> Edit it, and try renaming it to the form

    XC com myDomain myApp

    -> if it says "Enter a valid name" in red, be patient a drop down will appear if your cursor is inside the Name text field - choose it and click Save. [Don't ask what's going on here, it just works - we have better things to deal with]

    1. Open Xcode and click on that "Fix Issue" button which usually complicates things - surprisingly this time, it'll ease them!
    0 讨论(0)
提交回复
热议问题