How to change the App ID associated with my (Xcode managed) Team Provisioning Profile

42,869

Solution 1

You can't edit exisiting AppID's, but you can associate existing provisioning profile with new AppID or create new one.

Solution 2

According to Apple In Apr 2013, it is possible to delete App IDs. But In Sep 2013, Now again they changed so from now impossible to delete App IDs .

update 19th sept: But now again you can delete

Solution 3

After Apple recently added the ability to delete App Ids, I have managed to change the App Id associated with the Xcode Team Provisioning Profile.

In my case I had two wildcard App Ids, the one Xcode always used was the first one that I had created in error when I first registered. To switch to my second preferred wild card id I did the following:

  1. In iTunes Connect -> App Ids: Delete the offending App Id.
  2. In iTunes Connect -> Provisioning profiles: The Xcode profile is now marked invalid, delete it.
  3. In Xcode -> Organiser -> Devices -> Provisioning Profiles: Delete the profile and click refresh.

The new profile was regenerated in iTunes Connect however it wasn't downloaded into the list in Xcode so I downloaded manually from iTunes Connect and dragged it in.

Apparently iTunes connect has some rules about which App Ids can be deleted and Xcode has some default behaviour as to which App Id it chooses so YMMV.

Solution 4

It seems that you can only delete App IDs which are not associated with Apps registered with iTunesConnnect.

Share:
42,869
Steve
Author by

Steve

Full time: husband, father and engineer. Part time: gardener, handyman, and now programmer. My iOS apps - PoolSnap (Pool chemistry assistant), Daybreak (Sunrise/set calculator)

Updated on July 05, 2022

Comments

  • Steve
    Steve almost 2 years

    I constantly struggle to get my codesigning to work. I'm trying to get a good generic provisioning profile that will work for all my apps during development. They're always failing codesign, but they also always install on my phone. Go figure.

    I've created an App ID called ##########.mydomainname.* and associated it with my development certificate, but when the Team Provisioning Profile: * is generated, it uses an App ID that I made when I first signed up over a year ago. I don't know if this is a problem, but I want to try associating the Team Provisioning Profile: * with my ##########.mydomainname.* App ID. I'm so sick of constantly fiddling with provisioning - eventually I get it to work, but it's never the same recipe.

    Can I somehow edit the App ID used in a profile?

    UPDATE: Marking question as answered, but it looks like the answer is that you can't do what I'm asking.

  • Steve
    Steve over 13 years
    That would be great - can you describe the steps for changing the App ID for the automatically generated Team Provisioning Profile: *? It says it's "Managed by Xcode" and when I click on it, it shows that original App ID, but I see no way to change it.
  • Dmitry Shashlov
    Dmitry Shashlov over 13 years
    You need to log in on iOS Provisioning Portal, click Edit->Modify on your provision profile and select preferable AppID from dropdown list.
  • Steve
    Steve over 13 years
    That works on any profile that you create yourself, but the Edit link is missing for the Xcode Managed profile.
  • Dmitry Shashlov
    Dmitry Shashlov over 13 years
    Then you need to create new profile, link it with your application, download it and drop downloaded *mobileprovision file to XCode.
  • Tom Testicool
    Tom Testicool almost 10 years
    HOW? (Instruction is always helpful)