views:

423

answers:

2

I had an older mac mini that I had used to register the certifications and....etc. I never really got to the stage for actually using them since i only tested on the iPhone simulator.

Today I have a new mac mini, and i am trying to deploy to a device. Is there any gotchas here that im missing with this new mac mini?

When i Build & Go to device 3.0 i get an error. "Code sign error: the identity "iPhone Developer: " doesnt match any valid certificate/private key pair in the default keychain".

And indeed, when i go to the key access chain app, i can see that my keys dont have the certificate associated with it (even thought I have the certificate "iPhone Developer: " listed.

Any insights into this entirely to complex of a process would help me. Thanks!

+1  A: 

You will need to follow their detailed instructions on preparing your system and device for application development. Rather then duplicate the explanation I'll give you a link. http://developer.apple.com/iphone/library/documentation/Xcode/Conceptual/iphone_development/128-Managing_Devices/devices.html#//apple_ref/doc/uid/TP40007959-CH4-SW2

resolveaswontfix
many thank you's.
AlvinfromDiaspar
So why is it necessary that i keep a backup of my private key?The docs suggest this in case i want to build on another machine.But couldn't i just go thru the same certification creation process and get another key? Or, can't i just download the certification from the Dev. Portal from my team?
AlvinfromDiaspar
BTW, I still dont see my certification associated with my private key.good lord, what am I doing wrong?!
AlvinfromDiaspar
FYI, i finally got it to be associated by deleting the old certificate and requesting a new one.
AlvinfromDiaspar
A: 

There's a new feature in X-Code 3.2 and later that makes this a great deal easier.

  1. On your old computer, in X-code, go to the Organizer window.
  2. Click "Developer Profile" on the left pane. Then click "Export Developer Profile" on the right pane.
  3. Save the file and transfer it to your new computer.
  4. On your new computer, in X-Code, go to the Organizer window.
  5. Click "Developer Profile" on the left pane, then click "Import Developer Profile" on the right pane.
  6. Choose the file, and all should work well. At least, it worked for me.

I think this transfers the private key, sets up the public key and necessary certificates. I don't know if it helps with distribution credentials.

Vineel Shah