I accidentally deleted the Team Provisioning Profile:* in the Provisioning Portal, what should I do now? :/
I have a MacBook with Xcode 4.2 installed.
I also, in the course of "getting acquainted" with the iOS Provisioning Portal and Xcode, removed the iOS Team Provisioning Profile:*. I wasn't having any success getting it back, either by removing the device from Xcode Organizer and plugging it back in, or by removing and again creating the Provisioning Profile for my test app. Here's what I did.
With the device connected to the computer, Ctrl-Click the device in Xcode Organizer, and select the option Add Device to Provisioning Profile.
Once this was complete, the iOS Team Provisioning Profile:* appeared in Xcode Organizer, it appeared on my device (Settings > General > Profiles), and it appeared in the iOS Provisioning Profile area on the developer.apple.com site.
Create it again by unlinking and relinking your device to the Xcode Organizer. Or better yet, create another profile manually in the provisioning portal.
Whichever you do, remember to check that the new profile appears on your device (Settings > General > Profiles) and that your apps are signed with it.
Just ran into the same problem. Mine expired and Renew doesn't work because it looks like the day it expires its gone from the provisioning portal. But, good news, just go to the Organizer with the device connected, right click "Provisioning Profiles" and do "Add device to Provisioning Portal" and it will do all the necessary steps to recreate the profile and all your previously provisioned apps are up and running again. All the other devices you have to do "Add" and it will just put the new profile on those devices without having to recreate anything else.
As mentioned in one of the answers in Refresh devices in team provisioning profile managed by Xcode 7? , you can just delete and re-add the Apple ID in the Preferences->Accounts panel, which should regenerate the xcode-managed team provisioning profiles in the Developer Center. (Other answers here and elsewhere suggest to right-click provisioning profiles, which doesn't work for me, or apply to older versions of XCode for which the answers no longer apply.)
None of these answers worked for me. I had deleted my iOS Team Provisioning Profile from my computer and when I went to the Apple Developer Portal, the iOS Team Provisioning Profile was there but invalid and I couldn't edit or download it. Deleting devices and re-adding devices didn't work and I didn't have a new device(!?) to register again with. This is what I had to do:
Hope that helps someone. I finally found that information here in the docs under one of the troubleshooting sections:
To create the team provisioning profile using assets already in your account, open the Devices organizer in Xcode and select "Refresh from Developer Portal” from the Editor menu.
I searched everywhere and tried everything and I still could not get Xcode to generate me a new team provisioning profile. Finally I read something in the Apple documentation that said something like:
"When you add a new device to the portal [through Xcode] Xcode will generate a wild card app ID and an iOS Team provisioning profile, if it does not already exist"
Re-registering my existing devices did not work. I had to find a device that was not already registered. Once I added this new device it did, finally, re-generate the profile. Here were the steps I took to recreate my team provisioning profile (NB: You should probably be the team agent)
Hope that helps someone waste less time than I did.