Renewing the provisioning profile for an iPhone app

Our provisioning profile recently expired and it took a few hours to track back how to replace the old one in XCode in order to have the program compiling again. Here is the procedure to follow:

  1. Go to the Apple Developer Central and click on the “iOS Provisionig Portal” link;
  2. Click on the “Provisioning” menu entry on the left hand side of the page;
  3. Next to the expired provisioning profile there should be a “Renew” button: press it. The status should change to “Pending” and after a while it will go to “Active”;
  4. Download the renewed profile and add it to the Organizer in XCode by dragging the new file onto it;
  5. Delete the expired profile from the Organizer (if you try to build the application now, you should get the error “Provisioning profile can’t be found”);
  6. Double click on your project name in the Targets section of the Groups and Files panel on XCode (somehow it seems to be different from clicking on the name of the project and getting the Project Info!);
  7. Select the Build tab and scroll down to the Code Signing section;
  8. Click on the value for the entry under the Code Signing Identity and select the right profile.

This should make the trick.

Explore posts in the same categories: Programming


You can comment below, or link to this permanent URL from your own site.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: