Provisioning Profiles Made Easy


When I have a new Xcode project and need to test on my device, these are the steps I take to get a provisioning profile working right the first time. (Vcode 3)

In  Xcode on Mac:

Under Target Info:

Click on the app name in the Target folder. Click on the round blue Info icon. Packaging > Product Name will be title that will go after the “com.mycompanyname” in the plist file. Spell out the whole product name on that line, not an abbreviated name. This is the same name you’ll use in the iTunes App Store, so put in every word of the title (up to 256 characters), including case, minus spaces.

In plist:

“Bundle identifier” should have the same name as the Product Name, letter for letter, including case.

(“Bundle display name” is the name to be displayed under the home screen’s icon. 10-11 characters max.)

In Program Portal online:

In Provisioning Profiles area, create an app ID that includes the entire Product Name above. You can preface it with “AppID.”

Or, if yours is the only device being used to test the app, name the app ID according to the month and day it will expire (“AppIDMarch22”). You can use this app ID for any code that won’t be needed on the device after that date.

In Development Provisioning Profiles, click on New Profile and select the AppID, the devices, and the certificate. Make sure the bundle identifier matches the Product Name exactly, letter for letter, including case.

Download to Mac desktop. (You may have to switch away from the page and return to it to see the Download button appear.)

In the Distribution Provisioning Profile section, click on New Profile, click on the Ad Hoc radio button, and select the devices and app ID containing the product name.

Download to Mac desktop. (You may have to switch away from the page and return to it to see the Download button appear.)

In Organizer on Mac:

Double-click on the development profile icon on the Mac desktop. This will open the Organizer.

Click on each Provisioning Profile and drag each icon into the top pane.

In Xcode:

Click on the Target, then on the round blue Info button. Your development profile under Code Signing >  Code Signing Identity should now be detected automatically. (Don’t worry about the distribution profile. Using “Don’t Code Sign” will still put the app on your device.)

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s