Reputation: 511
I've been trying for a couple of days to get Active my Provision Profiles for distribution. The problem is that every time that I refresh provision profiles from Xcode it makes invalid distribution profiles on Member Center. I've tried deleting and recreating the profiles, downloading and reinstalling them manually. I've also tried by deleting the profiles from ~/Library/MobileDecice/Provisioning Profiles with no luck.
It's also important to mention that I had Xcode-beta6 installed but I removed it from the system and got same result.
Do you have any ideas what may be wrong? Thank you in advance for your help
Upvotes: 3
Views: 1656
Reputation: 511
I just update to Xcode6-GM and problem disappeared, seems that had to do with Beta versions of Xcode.
Upvotes: 0
Reputation: 14780
I had the same issue, and it really took me a while to configure it.
Be sure to follow these steps:
Go to LaunchPad and search KeyChain, and open it
Follow the steps on the picture below
Certificate Assistant will appear, and enter your email, Name Surname leave the third field empty and be sure that you select Saved to Disk.
Click Continue and this will generate a certificate, save it for example to Desktop or a place that you remember because you will be needing this. (Its a .certSigningRequest file)
Close KeyChain and go to developer.apple.com, login and go to Member Center
Click to Manage your certificates, App IDs, devices, and provisioning profiles.
On iOS Apps choose Certificates
Select 'All' on Certificates
Click the + button to Add a New Certificate
If you don't have a Development Certificate create it, then you need an App Store Certificate to Distribute Applications. (We are providing an example for Distribution, but it is the same thing also for Development)
Click to Continue, and when I requires you to enter a file, browse and find your .certSigningRequest file which was generated from KeyChain
Now that your certificate is created, Download it but don't install it yet.
Now we suppose you already have an Application on Store which is also at App IDs (Identifier Panel), if you don't create one.
Now go to provisioning profiles
Click + to add New Provisioning Profiles (Remember you can use just one Provisioning Profile for different MACs)
Choose App Store to be able to submit apps to App Store
Select your AppID, (Check step 13 if you don't have one)
Select Certificate that you created on the previous steps
Download the recent version of the iPhone Configuration Utility
Drag your provisioning profile on it and everything should be OK
If you are still having trouble. Delete all provisioning profiles from KeyChain and everything from Apple Developer except your added ones. Now everything should be returned to normal.
I hope this will help you!
Upvotes: 2