Certificates & profiles

Sign Certificates

Generating Sign Certificate

  1. Open the Keychain Access app on macOS.
  2. From the top navigation bar, go to Keychain Access → Certificate Assistant and click 'Request a Certificate From a Certificate Authority...'
  3. Fill in your email address and name and select 'Saved to disk'.
  4. Click continue to save the request:

Image loading...Certificate Assistant windowCertificate Assistant window

Adding Sign Certificate

  1. Launch Xcode on macOS.
  2. From the top navigation bar, go to Xcode → Settings.
  3. Switch to the Accounts tab and click 'Manage certificates'.
  4. Click the + button and select 'Apple distrubution'.

Image loading...Adding Apple distribution certificateAdding Apple distribution certificate

  1. Right-click on the newly-created certificate and select 'Export certificate'

Image loading...Exporting certificateExporting certificate

  1. Enter the name and password and save the certificate to disk.

Provisioning Profiles

Generating App ID

The App ID is required by your Provisioning Profile for application development.

  1. Log in to https://developer.apple.com/account
  2. Go to Identifiers under Certificates, Identifiers & Profiles.
  3. Click the + button to add a new identifier:

Image loading...Apple Developer consoleApple Developer console

  1. Set the type to 'App ID' and click continue.
  2. On the registration page, add a description and select the App Services required by your application. Next, set the Bundle ID to 'Explicit' and enter the bundle identifier. When ready, click continue:

Image loading...APP ID registration viewAPP ID registration view

  1. Review changes and click Register to finish configuration.

Generating Provisioning Profile

  1. Log in to https://developer.apple.com/account
  2. Go to Profiles under Certificates, Identifiers & Profiles.
  3. Click the + button to add a new profile:

Image loading...Apple Developer consoleApple Developer console

  1. Select the type of the profile and proceed to the next page.
  2. Select the App ID that you want to use and click continue:

Image loading...Provisioning profile configuration viewProvisioning profile configuration view

  1. Select the certificate that you wish to include in the provisioning profile and click continue.
  2. Select the devices on which you are planning to install your application and click continue.
  3. Enter the name of the profile and check if everything is in order. When ready, click generate:

Image loading...Provisioning profile generation viewProvisioning profile generation view

  1. Click download to save the profile to your disk and double-click the file to install it.

Adding certificate and profile to project

With the certificate and profile generated, you can now add them to Buddy:

  1. Open your project in Buddy and go to Variables, Keys & Assets
  2. Click + and select the file with the certificate.
  3. Enter the certificate password and click Add this variable.
  4. Repeat the process for the provisioning profile.

Image loading...Example certificate and profile in BuddyExample certificate and profile in Buddy

Last update:
Sep 23, 2024