To export your private key from your keychain:
1. Launch Keychain Access.
2. In the category list, select Keys.
3. Select the private key you use for iPhone development.
4. Choose Export from the private key shortcut menu.
5. Enter a password to protect the private key.
6. Select a location for the private key and use the Personal Information Exchange (.p12) format for the file.