Friday, September 28, 2012

Application IDs


Application IDs

During development of iOS application one needs APP ID, So what is an App ID & where it is used?

An App ID consists of a ten character "Bundle Seed ID" prefix generated by Apple and a "Bundle Identifier" suffix that is determined by a Team Admin.
For Ex : 8E549T7128.com.apple.AddressBook.

Uses : In order to install your application on an iOS device, you need to create an App ID and include it in your provisioning profiles.

So one can create a single App ID for all or your applications by utilizing a trailing asterisk as a wild-card character. (e.g. ##########.* )

During the application build process, Xcode will append any CF Bundle ID you specify in your Xcode project to the App ID in your provisioning profile.

Note: You are not required to enter your App ID into your Xcode project. Xcode will incorporate the App ID automatically.

APP ID Description :

An App ID is a unique identifier that iOS uses to allows your application to connect to the Apple Push Notification service, share keychain data between applications, and communicate with external hardware accessories you wish to pair your iOS application with. In order to install your application on an iOS based device, you will need to create an App ID. 

Each App ID consists of a universally unique 10 character “Bundle Seed ID” prefix generated by Apple and a “Bundle Identifier” suffix that is entered by a Team Admin in the Provisioning Portal. The recommended practice is to use a reverse-domain name style string for the “Bundle Identifier” portion of the App ID. An example App ID would be: 8E549T7128.com.apple.AddressBook. 

If you are creating a suite of applications that will share the same Keychain access (e.g. sharing passwords between applications) or have no Keychain Access requirements, you can create a single App ID for your entire application suite utilizing a trailing asterisk as a wild-card character. The wild-card character must be the last character in the App ID string. Example App IDs for this situation could be: R2T24EVAEE.com.domainname.* or R2T24EVAEE.* 

In these wild-card situations, you’ll simply replace the asterisk with whatever string you wish in the CF Bundle Identifier field in Xcode.

How to Generate an App ID ?

1. Team Agents or Team Admins should navigate to the ‘App ID’ section of the Provisioning Portal.
2. Click ‘Add ID’.
3. Enter a common name for your App ID. This is a name for easy reference and identification within the Provisioning Portal.
4. Enter a Bundle Identifier in the free-form text field. The recommended usage is a reverse-domain name style string, e.g., com.domainname.applicationname. For a suite of applications sharing the same Keychain access, you should use a wild-card character in the Bundle Identifier (e.g. com.domainname.* or *). This Bundle Identifier will need to match whatever CF Bundle Identifier you use for your application in Xcode.
5. Click ‘Submit’. At this time, the 10 character Bundle Seed ID is generated and concatenated with the Bundle Identifier you entered. This resulting string is your App ID. Note: The Bundle Seed ID does not need to be entered into Xcode.

No comments:

Post a Comment