views:

7149

answers:

2

In iPhone Developer Program Portal, there's a video to demonstrate how to create a development certificate and assign a private key

Now I have finished the development process and starting to distribute

I have created a "Distribution Certificate", but how do I assign a private key to this certificate?

As it got the "CodeSign error: code signing identity '...' does not match any code-signing certificate in your keychain" when compiles

It will be glad to let me now if I need to assign a private key to the distribution cert and how.

Please be noticed that I am NOT talking about development certificate here, thanks.

+3  A: 

Read the Obtaining your iPhone Distribution Certificate section of the Apple Developer Connection iPhone site. This explains step-by-step what you will need to do, in the correct order.

Alex Reynolds
Haha the answer is so obvious, I am sorry about overlooking it.
Unreality
A: 

bs, the passage between importing the certificate and exporting the key is missing. How do you create the key. should it generate automatically?

pxxxd off