How to export an iOS Distribution Certificate

Apple require all iOS apps to be cryptographically signed as part of the release process. This ensures that only authorised developers with the appropriate keys can make changes to your app, or in Apple’s own words:

Code signing your app assures users that it is from a known source and the app hasn’t been modified since it was last signed. Before your app can integrate app services, be installed on a device, or be submitted to the App Store, it must be signed with a certificate issued by Apple.

If you have an existing iOS Developer account and have previous released an app, the chances are that you’ll need to export your existing certificate in order for a new Development Team to continue working on your behalf.

Export iOS Distribution Certificate from Keychain

You can do this by completing the following:

  1. Locate the Mac used to previously sign your apps
    You will need access to a Mac that has previously signed the app as this will contain the required signing keys.
  2. Open the Keychain app
    You’ll find this in the folder /Applications/Utilities from within the Finder
  3. View your list of Certificates
    • Select “login” from the “Keychains” section
    • Select “My Certificates” from the “Categories” section.
  4. Select and export your certificate
    • Right click the relevant certificate and select “Export Apple Distribution…” (or “Export iPhone Distribution…”) from the popup menu.
    • Choose where you would like to save this to
    • Chose the “Personal Information Exchange (.p12)” option from the “File Format” drop down
    • Click “Save”.
  5. Choose a password
    Choose a password and remember it

You should now have an exported .p12 file and a password, which together can be used to enable new developers to work on your app.

Don't miss out!

Sign up to get helpful articles, case studies and the latest news straight to your inbox.

Let's create something awesome together