Creating a Code Signing Identity

Sometimes you might need to regenerate your code signing identity : for example if someone hits fix it in Xcode (don’t do this!), or a code signing identity expires. These steps will show you how to quickly do that.

Create a certificate signing request

First prepare a certificate signing request that you will later upload to Apple’s Developer Portal.

Open 'Keychain Access' then select Keychain Access → Certificate Assistant → Request a Certificate from a Certificate Authority.

Screen Shot 2015 12 11 at 11.32.36 AM.png

Save the certificate signing request to somewhere like your Desktop.

Generate the new certificate

Go to and log into the team you want the certificate to belong to. Navigate to certificates on the left hand menu

You will see something like this. Hit the add button to get started adding a new one.

Screen Shot 2015 12 11 at 11.34.10 AM.png

There are two types of certificates relevant to Code Signing

  • iOS App Development

  • App Store and Adhoc

If you’re just doing local development and want to be able to debug then 'iOS App Development' is the right type for you. For the App Store, Test Flight and Buddybuild, 'App Store and Adhoc is the best choice'.

Screen Shot 2015 12 11 at 11.34.36 AM.png

Once you’ve selected, you can upload the certificate signing request we created earlier

Screen Shot 2015 12 11 at 11.35.14 AM.png

When this is completed, download it, and then double-click on the file which will import it into your keychain. You’re all set up to code sign locally now, but there’s one more step to share that with buddybuild.

Add the new code signing identity to buddybuild

Open Keychain and look for the certificate you just created (it will have today’s date to make it easier to find).

Also, make sure you have the Certificates category selected to make it easier to find.

Screen Shot 2015 12 11 at 11.51.41 AM.png

Then right click on it and chose export and save the .p12 file somewhere.

Screen Shot 2015 12 11 at 11.36.55 AM.png

Now go over to the buddybuild dashboard and click on App Settings.

Builds   Settings.png

In the left navigation, click on Build settings, then Code signing.

Settings   Code Signing   menu.png

Next, click on Upload new certificates.

Settings   Code Signing.png

Select the Manual Way tab, and upload your code signing identity.

Settings   Code Signing   Manual.png

You should be all set with your new code signing identity. You may have to generate new provisioning profiles too. The easiest way to do this is to connect buddybuild to your Apple Developer account and buddybuild will manage the provisioning profiles for you.

results matching ""

    No results matching ""