问题
I am trying to sign an app with my client's certificates. I have received the following file from the client
I tried installing the ios_distribution certificate and the key (.p12). Also I have installed the provisioning profile. Now when I try to sign the app with the provisioning profile, it does show up in the drop down but I get the following error:-
No "iOS Distribution" signing certificate matching team ID "7S977Lxxx" with a private key was found
How can I solve this issue? Any help is appreciated.
回答1:
You need to have the private key of the signing certificate in the keychain along with the public key. Have you created the certificate using the same Mac (keychain) ?
Solution #1:
- Revoke the signing certificate (reset) from apple developer portal
- Create the signing certificate again on the same mac (keychain). Then you will have the private key for the signing certificate!
Solution #2:
- Export the signing identities from the origin xCode
- Import the signing on your xCode
Apple documentation: https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html
回答2:
I had the same issue and I have gone through all these solutions given, but none of them worked for me. But then I realised my stupid mistake. I forgot to change Code signing identity to iOS Distribution from iOS Developer, under build settings tab. Please make sure you have selected 'iOS Distribution' there.
回答3:
Solution Steps:
Unchecked "Automatically manage signing".
Select "Provisioning profile" in "Signing (Release)" section.
No signing certificate error will be show.
Then below the error has a "Manage Certificates" button. click the button.
- This window will come. Click the + sign and click "iOS Distribution". xcode will create the private key for your distribution certificate and error will be gone.
回答4:
Goto Xcode -> Prefrences and import the profile
回答5:
Double click and install the production certificate in your key chain. This might resolve the issue.
回答6:
Our solution was to run
fastlane match
as I forgot we setup a Matchfile.
来源:https://stackoverflow.com/questions/45050902/no-signing-certificate-ios-distribution-found