Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
624 views
in Technique[技术] by (71.8m points)

ios - Xcode makes invalid Distribution profiles on member center

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I had the same issue, and it really took me a while to configure it.

Be sure to follow these steps:

  1. Go to LaunchPad and search KeyChain, and open it

  2. Follow the steps on the picture below

    enter image description here

  3. Certificate Assistant will appear, and enter your email, Name Surname leave the third field empty and be sure that you select Saved to Disk.

  4. 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)

    enter image description here

  5. Close KeyChain and go to developer.apple.com, login and go to Member Center

  6. Click to Manage your certificates, App IDs, devices, and provisioning profiles.

  7. On iOS Apps choose Certificates

  8. Select 'All' on Certificates

  9. Click the + button to Add a New Certificate

  10. 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)

    enter image description here

  11. Click to Continue, and when I requires you to enter a file, browse and find your .certSigningRequest file which was generated from KeyChain

  12. Now that your certificate is created, Download it but don't install it yet.

  13. Now we suppose you already have an Application on Store which is also at App IDs (Identifier Panel), if you don't create one.

  14. Now go to provisioning profiles

  15. Click + to add New Provisioning Profiles (Remember you can use just one Provisioning Profile for different MACs)

    enter image description here

  16. Choose App Store to be able to submit apps to App Store

  17. Select your AppID, (Check step 13 if you don't have one)

  18. Select Certificate that you created on the previous steps

  19. Download the recent version of the iPhone Configuration Utility

  20. Drag your provisioning profile on it and everything should be OK

  21. 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!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...