PDA

View Full Version : Will devlopment certs. work on another computer?




jshmrsn
Sep 23, 2008, 07:24 AM
With a non-enterprise level developer account, is it possible to build and install my app from at least one other computer?
I tried downloading and installing the certs. from Program Portal but it didn't recognize them in xCode as far as I could tell.

Thanks,
Josh Rosen



Pring
Sep 23, 2008, 07:39 AM
You'll have to do all the Keychain Assistant setup stuff again but, yes, it should work. Though actually the stage where you generate something on your computer may not...

Not a great answer sorry, I was about to jump in and say sure but forgot about that step!

jshmrsn
Sep 23, 2008, 09:17 AM
Cool. I'm glad to hear a solution is possible, but I'm still having problems. When I download and install the iPhone Developer: ____ certificate and then view it in Keychain Access it says that "This certificate cannot be used (unrecognized critical extension)"

The WWDR certificate says that it is valid.

xCode error when I try to build a project:
CodeSign error: no certificate found in keychain for code signing identity 'iPhone Developer: ______'

ploppy
Sep 23, 2008, 10:32 AM
You need to export your private key and import it on the other computer.

You cannot sign without your private key. The certificate only contains data (your public key and a signature from Apple certifying it) that can be used to verify signatures you made with your private key.

jshmrsn
Sep 24, 2008, 01:41 AM
Sorry to keep asking petty questions on this topic, but I don't really know my way around OSX's certificates as you can tell.

I tried Exporting my iPhone Developer: ______ certificate from Keychain Access and the importing it on my other computer. But when it shows up in the Keychain on the other computer, it still says "This certificate cannot be used (unrecognized critical extension)"

Is this what you meant by export private key?

Thanks so much for the help,
Josh Rosen

superGenius
Sep 24, 2008, 10:50 AM
You need to export from your keychain in .p12 format. The iPhone portal gives complete instructions under Certificates -> How To -> "Saving your Private Key and Transferring to Other Systems".

I have done it successfully, just read the instructions carefully and you will have no problem.

jshmrsn
Sep 25, 2008, 12:25 AM
Ah!
Thanks very much.
Didn't catch that for some reason.

-Josh Rosen

jshmrsn
Oct 9, 2008, 03:07 AM
Well I've given this another shot, but still no luck.

I exported the private key that was paired with the development certificate and imported it into my other Mac's Keychain.
In regards to the iPhone Developer: _______ certificate, Keychain still displays:

this certificate cannot be used (unrecognized critical extension)

I've tried downloading the certificate from Program Portal and exporting/importing it from the working Mac, but nothing has any affect.

Does anyone know what "unrecognized critical extension" means? I can't find anything on Google.

Any help greatly appreciated as always - I'm really stuck on this one...

-Josh Rosen

fenrus110
Oct 9, 2008, 11:06 AM
i did it just fine by double clicking the .p12 file and then dragging the same provisioning file into XCode/iTunes. make sure to zip them up if you are emailing them.

l.sanjeevrao
Feb 7, 2009, 01:48 AM
Hi All,
Please Help me Out Soon , its urgent.
I have Developer Certificate ,distribution certificates from apple and opened with Keychain acess and added them.
Certificate Name :iPhone Developer: David
So i put same name in xcode code signing but it shoeing no certificate error.
Please help out
Thanks in advance