No signing certificate "iOS Distribution" found
Solution 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
Solution 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.
Solution 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.
Solution 4
Tried the above solutions with no luck ... restarting my mac solved the issue...
Solution 5
user3034944
Updated on July 05, 2022Comments
-
user3034944 almost 2 years
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.
-
user3034944 almost 7 yearsThanks for the answer. But when I try the Import Developer Accounts options, it shows the certificates in my folder, but they are all grayed out
-
jaycee over 5 years@green you can revoke the signing certificates on the apple developer portal However I am not sure I understood what should I export and where
-
MrColes over 5 yearsThis helped me. In my case, I just had to log in again on the Xcode > Preferences > Accounts tab and then click the button to refresh my cert.
-
Greg Hilston about 5 years@babibo Not exactly.
fastlane
andmatch
are open source projects. Its a defined command and not custom. It could help someone who usesfastlane
andmatch
and did not understand that they needed to run that command... No need for the negative-ness mate -
CGuess about 4 yearsThis is the answer if you're dealing with legacy apps. Also choose "apple" instead of "ios" because that's the new cross-platform style.
-
Joe Elia almost 4 yearsThis should be the best answer
-
Boon almost 4 yearsWhy is unchecking the Automatically manage signing necessary? Won't Xcode manage it for you automatically?
-
Mohammed Atif over 3 years@CGuess 's suggestion helped with conjunction to to Hasan's answer. Setting the identity to "Apple Distribution" from "iOS Distribution" worked
-
Shyam over 3 yearsAfter restarting xcode didnt work, i restarted my mac, and it worked. Thanks. It wouldnt have occured to me.
-
Jaggler3 over 3 yearsI had to restart XCode to fix associating my Provisioning Profile with my Signing Certificate
-
becker about 3 yearsI'm 11.3 and still having the issue I had one app that worked a couple of days but now another app doesn't work I tried everything suggested here and so far nothing...I even deleted all certificates from keychain and redid still no cigar... I always have this issue when changing to a different machine
-
Andy Weinstein over 2 yearsApple hardware, Apple software, Apple remote service. Sigh.
-
Ravi over 2 yearsLol, Thanks man. Even i tried other methods and this one worked.
-
SinisterMJ about 2 yearsI think Xcode at some point changes this for you, maybe a bug, because I would NEVER change this yet ran into the same issue. I feel like creating a million sock puppet accounts just to upvote this.