title: How to create a private key for iPhone Distribution Certificate?
body: <p>In iPhone Developer Program Portal, there's a video to demonstrate how to create a development certificate and assign a private key </p>
  
  <p>Now I have finished the development process and starting to distribute</p>
  
  <p>I have created a "Distribution Certificate", but how do I assign a private key to this certificate?</p>
  
  <p>As it got the "CodeSign error: code signing identity '...' does not match any code-signing certificate in your keychain" when compiles</p>
  
  <p>It will be glad to let me now if I need to assign a private key to the distribution cert and how.</p>
  
  <p>Please be noticed that I am NOT talking about development certificate here, thanks.</p>