Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

renewing provisioning profile and certificates

Tags:

xcode

ios

I have 2 iOS certificates - one for development and one for distribution (App Store). Both are expiring in 2 weeks. I am on Xcode 4.4.1. I have 2 development provisioning profiles and 4 distribution provisioning profiles.

In Xcode, I see that all of the provisioning profiles tied to the distribution certificate are set to expire in 2 weeks. I went into the Organizer->Provisioning Profiles and tried to Renew, but I received an error dialog indicating that "No value was provided for the parameter 'deviceids'". When I look on the Apple Provisioning Portal for that profile, it shows that the certificate is expiring in 2 weeks and that there are no devices associated with it (which is the way I've been doing it all along).

So - I'm trying to renew these, and haven't done this before. Has anyone seen a similar error in Xcode? Do I need to renew my certificate first, and if so, how? I don't see any "create new certifcate" button on the Provisioning Portal or in Xcode.

like image 361
jpporterVA Avatar asked Oct 19 '12 13:10

jpporterVA


1 Answers

I had a similar problem after I recently renewed my certificate.

The following corrected the issues for my Development Provisioning Profile:

  • Click Refresh in Xcode Organizer.
  • Ensure the Code Signing build settings for your Project and Target are set to the proper Provisioning Profile. You should select iPhone Developer to avoid future issues.
  • Optionally, remove expired profiles from Device tab in Xcode Organizer.

The following corrected the issues for my Distribution Provisioning Profile:

  • Log in to your iOS Developer Portal
  • Go to the Distribution tab under Provisioning
  • Create a new distribution profile.
  • After the profile is generated, click Refresh in Xcode Organizer
like image 159
Jason McCreary Avatar answered Sep 20 '22 21:09

Jason McCreary