Documentation

How to create a provisioning profile



In order to build an iOS App for your website, we will need a provisioning profile from your side. This document lists all the steps to help you create and download such a profile from your Apple Developer account.

Prerequisites

  1. Apple developer account - https://developer.apple.com/account/
  2. Certificate signing request (CSR) file - Download

Step 1: Create an "Apple Distribution" Certificate

  1. Go to https://developer.apple.com/account/ and sign into your Apple Developer account. If you don’t already have an account, click on “create yours now” and create a new account by paying the registration fee.
  2. Click on “Certificates, Identifiers & Profiles”, and then go to “Certificates” in the left menu.
  3. Click on the add button next to the Certificates header to create a certificate
  4. Select “Apple Distribution” from the options available and click on continue.
  5. Download our CSR file and upload in your Apple Developer Account at this step.
  6. Then click on continue. Your Certificate should now be ready.

Step 2: Create a new App ID

  1. In Apple Developer account, go to “Certificates, Identifiers & Profiles”, and click on "Identifiers" in the left menu.
  2. Click the add button next to the Identifiers header to create a new identifier.
  3. Select "App ID" from the available options and click on continue.
  4. Select identifier type as "App" and then click continue.
  5. You can enter your App name in the description field.
  6. Now, select a unique "Bundle ID" for your App. This should ideally be similar to your domain name, but in the reverse order.
    For example, if your domain name is example.com, then you can select a Bundle ID as com.example.ios
    Mark your bundle ID as "explicit".
  7. In the Capabilities list below, make sure you select "Push notifications" and "Access WiFi Information"
  8. Select the "Sign in with Apple" capability. You can keep it at its default setting which is "enable as a primary App ID"
  9. Then Click on continue
  10. Click on register, and your App Identifier is now ready.
In case you have an existing App ID that you wish to use with the "sign in with Apple" capability, please follow these steps
  1. Open that App ID from the Identifiers list
  2. Check the "Sign in with Apple" capability
  3. Click "Save"

Step 3: Create a Service ID

  1. Go to https://developer.apple.com/account/resources/identifiers/list/serviceId
  2. Click on the add button next to identifiers header to create a new Service ID
  3. Click on "Services ID" and click continue
  4. Enter the description and identifier. Identifier should ideally be similar to your domain name, but in the reverse order.
    For example, if your domain name is example.com, then you can select a Bundle ID as com.example.ios, Also please note that this identifier will later be referred to as your Client ID
  5. Click on continue and then click on register (this will take you back to the list of Service IDs)
  6. Now select the Service ID that you just created
  7. Check the box next to "Sign in with Apple", then click "Configure"
  8. In the Domains and Subdomains add the domains of the websites on which you want to
    use "Sign in with Apple" capability, e.g. yourdomain.com.
  9. In the Return URLs box add the full return URL you want to use, for example,
    https://yourdomain.com/callbacks/sign_in_with_apple
  10. Click "Next" and then "Done" to close the settings dialog box
  11. Click "Continue" and then "Save" to update the Service ID

Step 4: Create a Key

  1. Click on the add button next to Keys header
  2. Set the "Key Name" (for example "Sign in with Apple key")
  3. Check the box next to "Sign in with Apple", then click "Configure" on the same row
  4. Under "Primary App ID" select the App ID of the app you want to use. (either the newly
    created one or an existing one)
  5. Click "Save" to close the configure dialog box.
  6. Click "Continue" and then click "Register"
  7. Now you'll see a "one-time only" screen where you must download the key by clicking the
    "Download" button
  8. Also note the "Key ID" which you might need later

Step 5: Create & Download a Provisioning Profile

  1. In Apple Developer account, go to “Certificates, Identifiers & Profiles”, and click on "Profiles" in the left menu.
  2. Click on the add button next to the “Profiles” header to create a new profile
  3. Select "App store" under the distribution section and click continue
  4. Select the “App ID” which you have created in Step-2 and click continue.
  5. Select the certificate that you have created in Step-1.
  6. Enter a “Provisioning Profile Name” for your reference and click on generate.
  7. Now download the profile.

Help Topics:


Last Updated a year ago