How to change the App ID associated with my (Xcode managed) Team Provisioning Profile
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 A开发者_运维知识库pp 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.
You can't edit exisiting AppID's, but you can associate existing provisioning profile with new AppID or create new one.
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
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:
- In iTunes Connect -> App Ids: Delete the offending App Id.
- In iTunes Connect -> Provisioning profiles: The Xcode profile is now marked invalid, delete it.
- 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.
It seems that you can only delete App IDs which are not associated with Apps registered with iTunesConnnect.
i am using xcode 6.3.2 and the bundle identifier start with yourcompany.yourapp not com.yourcompany.yourapp but when i was creating a certificate it in developer.apple.com it says it should be com.yourcompany.yourapp so that was the reason it was not working.
Then i changed bundle identifier to com.yourcompany.yourapp in xcode 6 to match the provisioning profile and it worked for me.
Hope this helps for some one.
精彩评论