Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Codesign No identity found

I am trying to use Codesign in the Terminal like follows:

codesign -f -s "3rd Party Mac Developer Application: asdf" -v "My App.app"

But I keep getting this error:

3rd Party Mac Developer Application: asdf: no identity found

Any ideas? Basically, codesign cannot "see" this certificate. But, no matter how I type it out, I get the same error. I tried the following:

codesign -f -s "3rd Party Mac Developer Application: asdf" -v "My App.app"
codesign -f -s 3rd Party Mac Developer Application: asdf -v "My App.app"
codesign -f -s 3rd\ Party\ Mac\ Developer\ Application:\ asdf -v "My App.app"
codesign -f -s asdf -v "My App.app"
codesign -f -s "asdf" -v "My App.app"
codesign -f -s Application -v "My App.app"

Specifically, I am trying to get my app into the Mac App Store. Is this a problem with provisioning or something? I feel like I've tried everything

like image 507
William Grand Avatar asked Nov 16 '11 18:11

William Grand


People also ask

What is my code signing identity?

And, the Signing Identity in the Code Signing Identity is something, which consists of a public and private key pair that are specially created by an Apple. In other words, Code Signing Identity is referred to as the Common Name of the certificates which are installed in the Developer's machine Keychain.

What is Codesign Apple?

You use the codesign command to interrogate an app or other signed entity about its signature. To verify the signature on a signed binary, use the -v option with no other options: codesign -v <code-path>


1 Answers

I re-created the certificates and this solved the problem. The reason that I posted this question is because I had re-created the certificates before, to no avail.

However, the '3rd Party Mac Developer Application: asdf' certificate was missing the private key, for some reason.

like image 134
William Grand Avatar answered Oct 18 '22 20:10

William Grand