How to set the build config on Xcode? - ios

I am trying to build a project in xcode .After I build it it shows me an error :
The identity 'iPhone Developer' doesn't match any valid, non-expired certificate/private key pair in your keychains.
I google it and I found it that this error is due the build settings on Code Signing Identity .
I will attach a photo to see my configurations:
.
Can you help me fix this error?
thank you!

The identity 'iPhone Developer' doesn't match any valid, non-expired certificate/private key pair in your keychains. -- The error is related to your Keychain , check your delevloper certificate is expired or not , for example If it is expired its Showing like
Look in your keychain (with Keychain Access). Do you or do you not have a valid up-to-date development certificate? for example
Except that the one in the screen shot is expired! You need to have one, and it needs to be not expired. If you don't have one, then get one.

Related

iOS development, certificate/private key pair, valid identity not found

I just updated mac system software, now I cannot build onto my devices. When I try to build I get this error: The identity iPhone Developer: my name (XXXXXXXX) doesn't match any valid, non-expired certificate/private key pair in your keychains.
In the organizer I get: "valid identity not found" warning for all of my provisioning profiles. I looked in the dev center and saw that I had no certificate so I generated a new one, and double clicked it to install. I think it installed but I have the same error. DO I need to remove something, or generate more provisions?
RESOLVED: Look for the Refresh button on the bottom right of the Organizer window. Tapping this will download and install the necessary certificates and notify if they are not generated on the dev center.

The identity 'iPhone Developer' doesn't match any valid, non-expired certificate/private key pair in your keychains

I want to test my app in a device and I'm stuck with this error for hours:
The identity 'iPhone Developer' doesn't match any valid, non-expired certificate/private key pair in your keychains
I've followed this guide, and I've searched similar questions here on stackoverflow.
This might help: in my Provisioning Profiles my certificates have "Valid signing identity not found" and my Archives tab is empty.
Any help would be nice.
This is about what is in your keychain. Look in your keychain (with Keychain Access). Do you or do you not have a valid up-to-date development certificate? Hint: it looks like this:
Except that the one in the screen shot is expired! You need to have one, and it needs to be not expired. If you don't have one, then get one.

ios code signing issue

I am in a trouble with IOS CodeSigning.
I searched it but i cant find out what is the problem.
Here is my problems
http://i.stack.imgur.com/caCR7.png
http://i.stack.imgur.com/OIkLH.png
My bundle id is correct however it is not working.
Error message is ; "Code Sign error: The identity 'iPhone Developer' doesn't match any valid, non-expired certificate/private key pair in the default keychain"
Go to Organizer, choose Device tab, and under Provisioning Profiles (first entry in the left panel) you should see your certificates. Are they valid? If not you may be missing private key.
If you go to your Keychain, under Certificates you should see your developer profile. They should be expandable and when you expand you should see there's the private key. Without it the certificate won't be valid.

Code sign error in iOS app

I got an ios app, whe i trying to build it on device, XCode shows me this error:
Code Sign error: The identity 'iPhone Developer' doesn't match any valid, non-expired certificate/private key pair in the default keychain
Any ideas? What is the reason?
Except for the provisioning profile, you need also the private key/certificate exported from the keychain of the creator of the provisioning profile.
Look here
You will have to buy a development certificate in order to run your developments on your device.
Of course you can use the simulator free of charge.
To get a valid certificate - you need the user that issued the development certificate for this app to export the certificate files physically from his Mac. This means opening Keychain Access, right clicking the certificate and selecting "Export...". Then when you get this certificate, just open it and it will be added to your chain.
I just delete all profiles from Key-chain. And the create new profiles in developer.apple.com

Cant archive ios app

I tried to archive app for ios devise. But archivation failed.
Xcode show me: Code Sign error: The identity 'iPhone Developer' doesn't match any valid, non-expired certificate/private key pair in the default keychain
What happened? How to archive app for testing app on ios devise?
This is one of XCode's rare error messages that is actually descriptive and precise. You can break the message down a bit and make a little more sense of it.
The identity 'iPhone Developer' ...
This suggests that you are trying to use your developer profile to make an archive when you should be using your distribution certificate and provisioning profile.
Have a look at this page. (Apple login is required) if you don't have a distribution profile.
... doesn't match any valid, non-expired certificate/private key pair in the default keychain.
Even if you are using your distribution certificate (I don't think this is the case based on the first part of the message but if you are sure it is your distribution certificate and it's just badly named, please continue). Go to Keychain Access and check that your iPhone distribution certificates (and any other relevant certificates) haven't expired.
If it's neither of these, go to Organizer and check that your provisioning profiles haven't expired either.

Resources