App ID in provisioning profile for iPhone application

Manas picture Manas · Apr 26, 2013 · Viewed 12.7k times · Source

I have created a small iPhone application and I have to test this application on iPhone. I have to create a provisioning profile, but I am confused about the App ID that I should choose. At first it gives me option to enter APP ID description and then later 2 options to enter App ID suffix. Here are my questions

  1. The App ID that I create here, does it have to do anything with the project that I have created. I mean, if I just choose some random name for App ID and the name of the bundle of my application is something else then will it create problems for me later?

  2. App ID suffix has an option to give Bundle ID. Again does it have anything to do with the bundle name of my application?

  3. The example provided on the website for wildcard is "com.domainname.*". Here domain name has to be an actual domain name or can it be just anything at random that I choose?

Please clarify my doubts as I have to build a provisioning profile to test my application.

Thanks in advance.

Answer

xapslock picture xapslock · Apr 26, 2013
  1. The App ID has to be equal the Bundle identifier(in Xcode) and if you publish it via iTunesConnect, the identifier for this App is given and can't be changed anymore. The AppID Description is independent, editable and just visible within the DeveloperPortal. It just makes it easier to handle many IDs.

  2. The AppID/BundleIdentifier identifies a unique App. The Bundle Name is just a name, you can change it later if you want.

  3. The reverse domain is a suggestion and you should use yourdomain, so you can be sure nobody else uses this identifier, otherwise it could cause some Problems. The last Part is just for you, so you can easiely distinguish you App, espacially if you have many many Apps in the Future ;)

    com.yourdomain.yourappname, com.yourdomain.yourappname.subApp123, com.yourdomain.whateveryouwant, com.yourdomain.* (Wildcards are easy to use but then you cant use PushNotification,etc.)

But like I said in 1. If you App is in the AppStore the Identifier and the App are connected. All the AppIDs can be rename and the Provisioning-Profiles can be deleted and recreated. And the Appname(In iTunes and an the Device under the AppIcon) is also editable, so don't worry about that ;)