Profile and Certificate Update

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

In Xcode, I see that all provisioning profiles tied to a distribution certificate expire after 2 weeks. I went into Organizer-> Provisioning Profiles and tried to update, but I got a dialog box with the error message β€œThere is no value for the parameter deviceids.” When I look at the Provisioning Portal for this profile, it shows that the certificate is expiring after 2 weeks and that there are no devices associated with it (so I did all this time).

So - I'm trying to update them and have not 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 the Create New Certification button on the Provisioning Portal or in Xcode.

+9
ios xcode
Oct 19
source share
3 answers

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

The following issues were fixed for my Provisioning Profile:

  • Click Refresh in the Xcode Organizer .
  • Make sure that the correct Provisioning Profile is set for the code signing assembly settings for the Project and Target . You must choose iPhone Developer to avoid future problems.
  • If necessary, delete expired profiles from the Device tab in Xcode Organizer .

The following issues were fixed for my resource allocation profile:

  • Sign in to your iOS developer portal
  • Click the Distribution tab in the Provisioning section.
  • Create a new distribution profile.
  • After creating your profile, click Refresh in Xcode Organizer
+5
Jan 24 '13 at 1:16
source share

OK. I think I fixed it. Here is what I did and it seems to work - when I download the next release, I know for sure.

  • In X-Code, I deleted all provisioning profiles
  • Then I exit X-Code
  • I revoked my developer and distribution certificates from the development portal.
  • I created new keys using the Key Chain app
  • In Key-Chain, I deleted my old, expiring key / certificate
  • On the development portal, I created new certificates
  • On the development portal, I was able to edit all training profiles and associate the correct new certificate with it.
  • I uploaded new profiles
  • Then I followed this link advice and worked on an obvious bug in X-Code to remove old provisioning profiles from my project: Codesign error: Provisioning profile could not be found after deleting the expired profile
  • Started to create X-Code and copied preparation profiles in Organizer
  • Built for device and tested OK.
  • Built for an iOS device, as if I'm ready to download to the AppStore, and the build was successful. I have not tried uploading to the store.

I did these steps twice, once for development profiles, and then, when it worked / tested on my test devices, I changed the distribution profiles.

This set of X-Code up no / no warning and Organizer now displays all my existing training profiles that will not be valid for another year. Hopefully next year, if I do not forget these steps, I can do it a little faster.

+5
Oct 25 '12 at 17:07
source share

An easier way to do this ...

My certificate has expired, so the upgrade button button in Xcode Organizer does not work.

I have done the following:

  • went to the iOS initialization portal
  • switched to provisioning profiles> distribution
  • clicked on each of the expired profiles and clicked edit
  • the certificate switch was not checked because my certificate has expired, so I checked it and clicked the generate button
  • You will be prompted to download the newly generated profile .... dont!
  • wait about 5 minutes.
  • go to Xcode Organizer> settings profiles and click update button
  • then the profiles should change from "expired" to "valid"
+3
Apr 17 '13 at 6:08 on
source share



All Articles