Profile does not match Application ID com.domainname.helloworld

I try to run the HelloWorld project on my client device, the application identifier in Xcode: com.domainname.HelloWorld , and when I created the provisioning profile, I set: com.domainname.HelloWorld (lower case) in the AppID.

Now, in Xcode, I'm trying to assign a code signing identifier to the initialization profile that I created, however, in the drop-down 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 doubts that I did not know how Don't forget to add the new provisioning profile to XCode as well.

Could you help me? than in advance.

+4
source share
2 answers

BundleIds are case sensitive.

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

From Apple Documentation :

Typically, the package identifier in your Xcode project is a string formatted as the name of the backspace, such as com.MyCompany.MyProductName, where you replace MyCompanyName and MyProductName with your domain and product name. However, unlike domain names, application identifiers and package identifiers are case sensitive .

+6
source

I had the same problem with my Extinct Birds application, Xcode adds a disabled suffix with the project name in Application Target-> Bundle Identifier The way to find this in your Info.plist project is to search for CFBundleIdentifier You can get the following text entry from the file

CFBundleIdentifier com.softwebsys.ExtinctBirds $ {PRODUCT_NAME: rfc1034identifier}

For me, $ {PRODUCT_NAME: rfc1034identifier} has been removed from a line that works well. Here is my last entry CFBundleIdentifier com.softwebsys.ExtinctBirds

0
source

Source: https://habr.com/ru/post/1394566/


All Articles