Search code examples
iosxcode4.2provisioning-profile

Profile doesn't match Application Identifier com.domainname.helloworld


I try to run a HelloWorld project into my client device, the application identifier in Xcode is: com.domainname.HelloWorld, and when i created the provisioning profile, in the AppID, i have putted: com.domainname.helloworld (lower case).

Now, in Xcode, i try to assign the code signing identity to the provisioning profile i have created, however, in the drop list, i can see the provisioning profile but i can't select it.

enter image description here

I am following this tutorial and i have doubt i didn't knew how to Don’t forget to add the new provisioning profile to XCode as well.

Can you please help me there? thanx in advance.


Solution

  • BundleIds are case-sensitive.

    Make sure you call it com.domainname.HelloWorld in your Info.plist.

    From Apple Documentation:

    Typically, the bundle ID in your Xcode project is a string formatted as a reverse-domain name such as com.MyCompany.MyProductName, where you replace MyCompanyName and MyProductName with your domain and product name. However, unlike domain names, app IDs and bundle IDs are case sensitive.