Code Signing issue after adding another project XCode 7.2 - ios

I have addd Chart project in my current project. It working fine in simulator. But when i build the project as distribution certificate it will create issue.
Code Sign error: Multiple matching codesigning identities found: Multiple codesigning identities (i.e. certificate and private key pairs).
but i have used already created certificate and ID in both project

Please checkout the below steps
Refresh your provisioning profile
Check your keychain
Delete the duplicate certificates, if any.

Related

Xcode signing error No signing Certificate

Having recently updated my Mac, I have had lots of login problems, eventually when I was able to login, Xcode is giving me the error:
No "iOS Distribution" signing certificate matching team ID "L435GR2VGD" with a private key was found.
How can add a private key to a cert?
One option is if you have it exported to imported in the keychain.
But most probably you don't have it and you should generate new one in developer.apple.com > Cerificates

Unable to Code sign iOS application due to duplicate distribution certificates with different private keys

We have two iOS Distribution certificates for Project A and Project B. I´m having some issues with signing because both distribution certificates have the same name but with different keys.
If I add both certificates and try to sign with one of them for Project A I get an error message that says below.
Code Signing Error: Provisioning profile “NTT One Dev" doesn't include signing certificate "iPhone Distribution: NTT LLP".
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 13.2'
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 13.2'
For Project B I can sign the app without issues even if I had two distribution certificates with same name. I have to remove the newly added certificate from Keychain access to sign the app for Project A. This makes signing an application a time consuming task as I have to export/import certificates every time I want build apps.
Does anyone know of a way of changing the name of the Distribution certificate that Apple generates or how can I resolve this issue without removing certificates?
Best regards
Naga
Issue resolved after removing the old certificate and modified the provision profile for Project A to use same certificate used by Project B.

IOS Signing Errors for Building for IPhone

I made a game with Unity and used the IOS Export option on my windows machine, and then I copied over the Xcode project to test it on my device before I try and release it. I have a free developer account, but it keeps giving me the error:
Failed to code sign 'Unity-iPhone'
No valid signing identities (i.e. certificate and private key pair) matching the team ID “9P75XXXXXX” were found.
Xcode can attempt to fix this issue. This will reset your code signing and provisioning settings to recommended values and resolve issues with signing identities and provisioning profiles.
There is then an option to "Fix Issue" but once I click that, I get the error 'Could not generate key pair for CSR'
I have tried other fixed for the Could not generate key pair for CSR Error, but when I go into my Keychain Access and try to request a certificate from the certificate authority, I go all the way to the end, but then I get the error "User Interaction is Not Aloud".
What can I do to fix this?

Multiple codesigning identities (i.e. certificate and private key pairs) matching were found

Code Sign error: Multiple matching codesigning identities found: Multiple codesigning identities (i.e. certificate and private key pairs) matching “iPhone Developer: Coders (4B4R89J5KK43GU33E64I4347VZ)” were found
CodeSign error: code signing is required for product type 'Unit Test Bundle' in SDK 'iOS 8.0'
I am unable to test the app on the device.
I also imported the .developerprofile file from my teammate, and was able to upload the app to app store, but cannot test app on device.
In keychain all the certificates are valid.
I tried to deleting iOS Provisioning Profiles.
I also refreshed my setting using these steps
In Xcode Preferences
> In Accounts click on your Apple ID
> Click View Details
> Click on your projects Provisioning Profile
> Click refresh button bottom left
Clean and build again, but still facing the same issue not running on device.
Make sure you don't have duplicate Certificates in Keychain Access in your Mac.
To check this open Keychain Access and within "My Certificates" check that you don't have duplicate certificates, if this is your case, remove the duplicates.
In my case, the solution was the automatic "iOS Developer" option (With Xcode 6.2)
And on the second "Build Settings":
I ran into this problem a few months ago and just ran into it again just now. Last time I fixed it by refreshing my account under Preferences. It did not work this time even after removing/adding all the accounts and clear all xcode related keychain items.
Finally I changed the Provisioning Profile from "Automatic" to a specific Profile which worked.

No codesigning identities

No codesigning identities (i.e. certificate and private key pairs) that match the provisioning profile specified in your build settings (“Ios7ProvisioningProfile”) were found. Xcode can resolve this issue by downloading a new provisioning profile from the Member Center.
I used to upload application just fine.
Yet now when I tried to archieve the application. I got this message. I tried the automated fix but it doesn't work.
Basically it says XCode can resolve this issue. Yet I click fix button and it doesn't work.
Where in my build settings my profile is listed?
In build settings, select All options instead of basics. There you will find a section called code-signing, All provisioning options are listed there. If you wish to see all the provisioning profiles installed on your system, you could use iPhone Configuration Utility.

Resources