Xcode Package Identifier Id

I am trying to install 2 applications that I made in Xcode on a device and could only successfully create it.

the one that successfully built the package identifier was 123456789A.com.company.appnameProject , where "Project" is the name of the project in gray uneditable text.

for someone who did not have a package identifier, there is no editable text in it, and I don’t understand why it has editable gray text and the other one is not.

This is the error description The identity '...' does not match any valiad non-expired certificate/private key pair in your keychains

I tried the following package identifiers with no success.

 123456789A.* 123456789A.com.company.appname 123456789A.com.company.appnameProject (project is in editable text) 

Note. I tried to remove and reinstall provisioning profiles and key chains. I would be surprised if something is wrong with my keys or provisioning profiles, since one application was successfully built.

+4
source share
3 answers

gray text cannot be changed because it uses the version of the name of your project with the rfc1034 identifier package

if you look at the target information, you will see that the packet identifier is as follows.

 com.company.${PRODUCT_NAME:rfc1034identifier} 

project name is the value next to the icon in the Goals section of the project properties editor.

You can change the name of the target by clicking the name when it is already selected. or select it and press enter.

Changing the target name will change the gray value in your Bundle ID.

Sometimes your provisioning file does not include the entire UDID that it should use.

You can try to make sure they are selected on the itunes connect portal. then download a new copy.

You can also try connecting the ios device to xcode and setting it up for development in "Organizer"

if it does not work. you can delete all security files from your xcode and from the hard drive on which they are stored and download them from xcode.

Sometimes it's temperamental

+1
source

Try this method: Bundle ID:

In the profiles of the organizer / Provisioning you can find the application identifier

12344545.com.name. *

In your Bundle ID, use only after numbers (period) and instead (*) your application name should be as follows:

com.name.AppName

Thus, the identifier "..." does not match any valiad non-expired certificate / private key pair in your keychains error, should be removed, at least that was for me. Good luck.

0
source

I found out what happened. My code signing id for the debug phase was for the wrong certificate. It was a pretty simple and confusing mistake.

Also thanks to those who answered!

0
source

All Articles