The application identifier with the identifier "com.Company.ProductName" is not available, enter another line

Trying to test my only application in xcode, and when I click run, it says:

The application identifier with the identifier 'com.Company.ProductName' is not available, enter another line

Any ideas? Thanks

+5
source share
5 answers

The application identifier must be globally unique. Therefore, it is recommended that you use the DNS naming convention. Please make sure your Bundle Identifier is unique.

+6
source

Before you create your application, in unity, enter -

Build Settings> Player Settings> Package ID

Change this to the format com.Company.ProductName. You can change the name of your company and product in the player settings.

Greetings.

+1
source

I had the same problem when I upgraded my Xcode to 7.3 and showed me the same error in every project. The simplest solution I found is to simply delete your Apple account from Xcode and add it again.

To delete, simply go to Xcode> Settings> Select an account and click on the sign.

enter image description here

If this does not work. Then follow the next step to restore the provisioning profile and run it.

Hope this helps. All the best

+1
source

None of the typical solutions for this problem worked for me. Then I found this from Apple:

Xcode cannot create distribution assemblies for App Store or enterprise applications. This problem occurs when an expired WWDR intermediate certificate is present in both the Systemchain key key and the Keychain Access key in the Login application. To resolve the problem, first download and install the updated certificate. Then, in Keychain Access, select the system keychain. Select Show Expired Certificates from the View menu, and then delete the expired version of the Apple Worldwide Certificate Authority Intermediate Certificate. Your certificates should now appear valid in Keychain Access and be available to Xcode.

Replacing the intermediate WWDR certificate with Apple for Apple worked for me.

0
source

Most likely you did the right thing and that the application ID is correct.

The solution is: Exit Xcode to be sure. Delete all existing provisioning profiles on your mac, you can find them in: / YourHomeDirectory / Library / MobileDevice / Provisioning Profiles / So you have a clean sheet to get started.

In the Member Center, delete the associated profiles in the Distribution section of your iOS certificate (the profiles that you used to archive your application). Then recreate them one by one, and when creating, be sure to select the correct distribution and the correct application identifier. After that, download these new profiles to your Mac. Then double-click these profiles so that Xcode automatically adds them to the folder: / YourHomeDirectory / Library / MobileDevice / Provisioning Profiles / You can verify that the profiles are added there (but the file names are changed to a hashed character type).

Launch Xcode and try Archiving your application again, if you followed the steps correctly, you will now need to distribute the distribution. Good luck

0
source

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


All Articles