How to get around Apple app ID insanity

前端 未结 9 1044
轻奢々
轻奢々 2020-12-12 21:44

As you all know, Apple changed how Xcode works such that you can\'t ever create an app with a previously used app ID, even if you\'re just writing test apps to use locally.

相关标签:
9条回答
  • 2020-12-12 22:40

    I have a paid developer account and found this happening in Xcode 9 after creating a bunch of simple test/example apps. In the past, I would have simply selected a "wildcard" App ID. However, Xcode doesn't seem to have a way to do this anymore.

    Researching based on the wildcard, I found Technical Q&A QA1713: When should I use a wildcard App ID?. Following these steps seems to have worked for me. (The signing errors are gone, but we'll see what happens in another 7 days or 10 apps, lol.)

    Here are the steps, if you have a paid developer account:

    1. Log into your developer account.
    2. In the list on the left, click on Certificates, Profiles & IDs.
    3. In the new list on the left, under Identifiers, click on App IDs.
    4. Click the '+' symbol in the upper right of the page. (You're now at the 'Registering an App ID' page.)
    5. In the box under App ID Description, enter something to describe your App ID. (Note that this description has to be purely alphanumeric; spaces seem to be allowed, but nothing else.)
    6. Under App ID Suffix, select the radio button for Wildcard App ID.
    7. In the box below that, enter the beginning of what you'd like to use as your app's bundle identifier, followed by a dot-asterisk. (For example, maybe your app bundle identifiers in Xcode are something like com.myname.appname. Then, in the box under Wildcard App ID, you'd enter com.myname.*.)
    8. Under App Services, select any available items you think you might use in an app at some point in the near future. (Only a few of the items are available for selecting at this step.)
    9. At the bottom of the page, click the Continue button.
    10. At the resulting 'Confirm your App ID.' page, scan your selections to ensure they're okay; then, at the bottom of the page, click the Register button.
    11. At the resulting 'Registration complete.' page, you can again review the registered options. Then, just scroll to the bottom, and click the Done button.

    The new wildcard App ID will now appear in your list of App IDs.

    Next, go into Xcode, and create your app, entering an Organization Identifier that matches the wildcard App ID you registered without the dot-asterisk. (For example, if you enter com.myname, Xcode completes what becomes the bundle identifier with a dot and the app name.)

    When the project opens at the signing page, Xcode will "Automagically manage signing" correctly ;)

    Note: If you have a free developer account, as of the date of this posting, you can't access the 'Certificates, Profiles & IDs' link in your account. ;(

    0 讨论(0)
  • 2020-12-12 22:41

    I faced the same situation in my new mackbook with xcode 7.3.1 version. Even if I tried with old bundle identifier, it didnt worked. Following below steps helped me to run the app in device.

    1. Got to xcode preference
    2. Click accounts and choose your apple id.

    1. Click the View details
    2. And Click download All.

    This will download all the provisioning profile associated with given apple id. And after that use any identifier that you have used before. You can easily get the old identifier from provisioning profile names.

    0 讨论(0)
  • 2020-12-12 22:46

    It is type of limits of free developer accounts, but we could figure out a solution for that too :

    1- Navigate to the project of any previous application that have been installed on the same device has the problem with .

    2- Open Build Settings tab for the app project in Xcode .

    3- Search for Bundle ID and copy it .

    4- Open up your current app that has the problem and navigate to the same place > Paste and Replace the current Bundle ID with the old one.

    5- Run the app.

    !!! WALA

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