11

I was going to turn on code signing for my mac app so I'm able to submit the app to the mac app store. But when I select the 3rd party mac application cert for code signing it says that there were no profiles matching.

And when I'm trying to build the app like that I'm getting the error:

Code Sign error: The identity '3rd Party Mac Developer Application' doesn't match any valid certificate/private key pair in the default keychain

And I can't figure out why. I've tried to revoke and reinstall my certificate but that doesn't seem to help.

Here's 2 screenshots. Of the code signing part in the build settings and one from keychain access.

enter image description here

enter image description here

Maybe your able to see what's wrong? If you need any more info please let me know! :)

6
  • Did you create the certificate request using the Certificate Assistant in Keychain? Did you do that one the same Mac that you're trying to install this certificate on? Commented Sep 10, 2011 at 17:02
  • The private key for the certificate should have a disclosure arrow (little grey arrow pointing either right or down) that should show you the linked certificates. Does it? Did you do this on the same Mac that you're trying to install the certificates? Commented Sep 10, 2011 at 17:04
  • The Certificates was created by going Keychain access > Certificate Assistant > Request certificate from certificate authority and then uploaded to apple so they could generate the certificates for me. And it was done on the same mac as they're installed on. Commented Sep 10, 2011 at 17:09
  • Hmm it doesn't seem to have any private keys... What should I do then? Commented Sep 10, 2011 at 17:10
  • Please go to iPhone/iPad chat so that I can post images: chat.stackoverflow.com/rooms/682/iphone-ipad Commented Sep 10, 2011 at 17:15

2 Answers 2

11

Go to Build Setting --> Code Signing Identity --> Select Don't Code Sign. it will not show Build & Error. (This will work only when you don't want to sign in).

Sign up to request clarification or add additional context in comments.

Comments

2

It seems you have a missing key. I'm not sure on the reason why it's missing, but creating a new certificate will likely work.

(For other users, this solution was discussed in chat, this answer was posted here as reference.)

2 Comments

And this is why chat rather than comments is a bad bad bad bad bad idea. I have this issue and can't see the real answer because its buried in hideousness of the SE chat.
The conversation began here chat.stackoverflow.com/transcript/682?m=1436278#1436278 so perhaps this will help future followers to see the conversation, unless James wants to update the answer to have more detail.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.