Question

I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in iPhone. But when I try to do so I get an error "Codesign error:Code signing is required for product type "Application" in SDK Device iPhone OS 3.1.2. Please some one help me.

Regards, krishnan.

Was it helpful?

Solution

Have you transferred your credentials to the second Mac? They are stored in your keychain.

You may need to read up on how Code-signing works: http://en.wikipedia.org/wiki/Code_signing

Here's an overview:

  • Developer creates a Certificate via a Certificate Authority (CA)
    • This certificate is used to 'sign' the binary, providing 'proof' of who created it
  • Developer then uses the Certificate to sign the binary (this is the step you're missing on the second MAC)
  • Clients using the binary can now verify the Certificate against a known CA to ensure the integrity of the build.

OTHER TIPS

Also check that you are code signing on the target as well when you do the Archive build

Spent hours to figure this out. Actually you need to click on Project --> Build Settings --> click target --> code sign..

THIS IS not apparent

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top