Friday, September 28, 2012

Provisioning Profile


Provisioning Profile

During development stage whenever one needs to install any iOS application in to a device , he needs Provisioning Profiles.

So what is a provisioning profile and what is its uses ?

Apple describes provisioning profile is a collection of digital entities that uniquely ties developers and devices to an authorized iOS Development Team and enables a device to be used for testing. A provisioning profile must be installed on each device on which you wish to run your application code. Each provisioning profile will contain a set of iOS Development Certificates, Unique Device Identifiers and an App ID.

Devices specified within the provisioning profile can be used for testing only by those individuals whose iOS Development Certificates are included in the profile. A single device can contain multiple provisioning profiles.

How To Create a Development Provisioning Profile?

Login into http://developer.apple.com/devcenter/ios/index.action


Now after successfully login on the right side of screen one can see following option.

From the listed option , select iOS Provisioning portal


1) In the ‘Provisioning’ section of the Portal, Team Admins should click 'Add' on the Manage tab.
2) Enter a name for the provisioning profile.
3) Specify which devices will be associated with the provisioning profile. You must specify a device in order for that device to utilize the provisioning profile. You can install a provisioning profile on any of your devices, however, if a device's UDID is not included in the provisioning profile, the device cannot run that profile.
4) Specify which iOS Development Certificates will be associated with the provisioning profile. You must specify an iOS Development Certificate in order for the application code signed with that same certificate to run on the device.
5) Specify a single App ID for the Development Provisioning Profile. Each Development Provisioning Profile can specify only ONE App ID. Use an App ID containing the wild-card asterisk character to build all of your applications.


Installing a Development Provisioning Profile



All Team Agents, Admins and Members can download a Development Provisioning Profile from the ‘Provisioning’ section of the Portal after it has been created. Only those developers whose Apple device IDs and iOS Development Certificates are included in the provisioning profile will be able to install and test their application on their device.

In the ‘Provisioning’ section of the Provisioning Portal, click the download button next to the desired provisioning profile.
Drag the downloaded file into the ‘Organizer’ window within Xcode or onto the Xcode application icon in the dock. This will automatically install the .mobileprovision file and create the proper directory. Alternatively, you can drag the .mobileprovision file onto the iTunes 7.7 icon in the dock or copy the file to ‘home/Library/MobileDevice/Provisioning Profiles’. If the directory does not exist you will need to create it.

No comments:

Post a Comment