If there’s one thing that sends the fear of God and Paul O’Connell into people, it is trying to create a .P12 file. If only one person is working with your app in xCode using one Mac computer, then you can breathe a sign of relief. You don’t need to worry about creating a P12.
But if you have:
- Two developers in different locations using your one Apple account
- You have the certs set up on your Mac and now want to hire someone else to help you with the app
Then you need to create a (ferocious drumroll) P12 certificate. The P12 is the magic file that gives a second person the right to work with your Apple iOS developer account.
Whoever generated the current main developer and distributions certs in your Apple account is the person who needs to generate the P12. They need to use the same MAC they used to make the certficates. Once its generated, just email it to whoever else needs to work with these certs.
If for someone reason the person who made the main certs isn’t available, remember you do always have the option to revoke the main developer and distribution certs in the iOS developer center, create new ones on your MAC, and then make a P12 from those. But if you revoke certs all of the current mobile provisioning files you use to QA apps will stop working. It’s not a biggie, you just need to create new mobile provisioning files associated with your new certs, as they all have to be linked for it to all play nicely together.
‘But hold your horses’ I hear you all yell…. ‘How on earth do I make a P12, it sounds like some archaic accountancy nail-pulling tax form!!’
Don’t panic – at least not yet. You can make it in about 2 minutes.
First up, make sure you are sitting at the Mac where you made your main developer and distribution certs. On the top bar of your Mac screen, click Go > Utilities > Keychain. This now opens then Keychain program.
On the left of the keychain window, click on ‘My Certificates’.
You should then see your developer certificate and your distribution certificate in the middle of the Keychain window. Happy days Now click on the tiny grey arrow beside your developer certificate. It will open to reveal a private key.
Right click on this private key, and select the ‘export’ option.
Then choose a name for your file, and save it somewhere you’ll find easily, like your desktop.
Congratulations that’s it!!!!!! You are done. The last thing to do is to email this P12 file to the person who is also going to be working with this Apple iOS developer account. Nice work