Certificates, Provisioning Profiles, App Id and Device registrations

When developing a new app, distributing it to the app-store or internally with the Apple Enterprise Program you will need to create provisioning profiles and certificate files. This can be very tedious and hard to remember. These guides aims to break those tasks down into followable steps.

This guide is separated into 11 parts. Part 1 to 5 describes the total process from A-Z.

Part 6 to 11 describes the unique parts of these tasks, and then referring to steps in Part 1 to 5.
Its recommended that you Follow Part 1 to 5 first.


 

Part 1: Logging into Apple Developer site

Part 2: Creating a Certificate for Development use

Part 3: Creating an App ID

Part 4: Registering devices

Part 5: Creating a provisioning profile for Development use

Part 6: Creating a Certificate for Production use

Part 7: Creating a provisioning profile for Distribution use

part 8: Creating an Enterprise Certificate for Development use

part 9: Creating an Enterprise Certificate for Production use

part 10: Creating an Enterprise Provisioning Profile for Development use

part 11: Creating an Enterprise Provisioning Profile for Distribution use


Part 1: Logging in to Apple Developer Site

  1. Log in to Member Center at the Apple Developer site If you are a member of a team and are given the option to select a team when logged in, chose a team to continue.
    001
  2. Go to the area where you Manage your certificates, App IDs, devices, and provisioning profiles. (Note: If you are logged in with an enterprise program, you will not see the App Store Resource Center and iTunes Connect menu items.)
    002

 Part 2: Creating a Certificate for Development use

A certificate that you will be using in the time when you are developing your app.

  1. Make sure that you are logged in as described in part 1. Go ahead and click the Certificate menu item.
    003
  2. In the Certificates area you can see all certificates that have been created. For now click the Development Menu to see your Development certificatate.
    004
  3. When development section is selected, you only see the certificates that have been created for developments use. Lets create a new Certificate. Click the ( + ) sign.
    005
  4. Creating a new Certificate is a 4-Step process
    1. Step 1 is called “select type”. We want to create a certificate for development use, so make sure to mark the correct type.
      006
      When iOS App Development is marked you can scroll all the way down and click continue.
      007
    2. Step 2 is called Request, and this can be a tricky step if its the first time you create a new Certificate. This involves opening the program “Keychain Access” in order to generate a file, you will be needing later in this process. Read the info on this screen thoroughly.
      008
      Start by launching Keychain Access on your mac. Now you need to Request a Certificate from a Certificate Authority from the Certificate Assistant.
      009
      This will bring up the Certificate Assistant window. Here you must enter your email and a name for your certificate. A very important thing here is that you must mark the radio button Saved to disk. Now click the continue button, this will promp you to save a file on your disk. Save the file somewhere where you can find it again in a second.
      010
      With the file created you can now continue by clicking the continue button.
      011

    3. Step 3 is called Generate, and here you click the Choose file… button. This will prompt you to select a file. Browse to, and select file you just created before.
      012

      When you have browsed to, and selected the file you should be able to click the Generate button.
      If everything goes well, step 3 is completed.
      013

    4. Step 4 is called Download, and is by far the most simple step. Here you just need to click the Download button in order to save the .cer file to your disk.
      014

      After you have saved the file to your disk, go ahead and double click it. This will install the file in your Keychain Access.
      015
      Congratulations! If you made it so far, you have just created a new Certificate for Development use. Great!If you are developing iOS Apps using the Amazing Cross-platform tool Adobe AIR, you will need to export this certificate as a .pk12 file.

      You can do that by right-clicking the above marked line My Developer Certificate and select Export “My Developer Certificate”. This will prompt you for a place to save the exported .p12 file. Navigate to your certificate by selecting the “My Certificates category”. If you have a lot of files here, you could do a search for “My Developer” (or whatever you named you certificate)
      This will narrow down what you see in the Keychain Access view. Now make sure that you expand certificate, so that it shows the certificates “private key – row”. This is where you should right-click and export.


Part 3: Creating an App ID

  1. Make sure that you are logged in as described in part 1. Go ahead an click the Identifiers menu
    016

  2. Here you can see all App ID’s that have been created. Lets create a new one. Click the ( + ) button.
    017

  3. The first thing you must do is create an App ID Description. You will use this later when referencing to this app.
    018

  4. Next, you need to choose an App ID Suffix. You have 2 options here. If you know that are NOT going to use any of the App Services (like Push Notifications, In-App Purchasing, etc.).  you can create a “Wildcard App ID”. This is an App ID that can be used for multiple apps (while Developing). The wildcard could be typed as “*” alone or as “com.mydomain.*”.
    But for most scenarios you might be using one or more services, so we are going to Choose Explicit App ID.
    Reversed domain name styling is recommended, and suffix that with your app name. I Often use something like this: com.mydomain.apps.appname.
    When you have entered your bundle id, see if there are some of the services you need. GameCenter and In-App Purchase are selected by default.
    Note: (When creating new App in iTunes Connect, or when creating Provisioning Profiles, you must choose a bundle ID, and that is what we are creating here by Registering an App ID.)
    019

    When ready, go ahead and click the Continue Button.
    020

  5. This should take you to the last step in creating an App ID. This is just a confirmation step where you should review the info you have typed in.
    If everything looks fine, you can click the Submit Button in order to confirm your new App ID.
    021

    Congratulations! you should now see the the confirmation page telling you that your App ID is registered and ready for use. Clicking the Done Button here will just take you back to the list of App ID’s.
    022

 


Part 4: Registering Devices

When you are developing your app, you are going to be testing the app often. By yourself, but also by other persons. In order for the App to be installed on test devices you need to have these devices registered.

  1. Make sure that you are logged in as described in part 1. Go ahead and click the Devices menu item.
    023

  2. This is where you can see a list of all the devices you have registered. To register a new device click the ( + ) button.
    024

  3. The first thing you need to do is to give this device a name. You will use this name later when creating Provisioning Profiles, so make sure that the name you choose makes sense to you.
    I Always just copy-paste the info i can get from iTunes. You can get the device name and UDID from iTunes. Plugin you device and open itunes. Its easy to find a guide for this on youtube. Just follow this link
    025

  4. When you have entered your information you can go ahead and click the Continue Button.
    026

  5. This will lead you to a final step, where you can review the information you entered. If everything looks fine you can click the Register Button.
    027
    Congratulations! you just registered a new device.

Part 5: Creating a provisioning profile for Development use

  1. Make sure that you are logged in as described in part 1. Go ahead and click the Provisioning Profiles menu.
    028

  2. This is the overview of all your Provisioning Profile. Start by selecting the Development section.
    029

  3. In the Development section you can now click the ( + ) button, to begin creating a new Provisioning Profile for development use.
    030

  4. Creating a Provisioning Profile is a 4 Step process.
    1. Start by making sure that you select the iOS App Development radio button.
      031

      After you checked the iOS App Development radio button, you can continue by clicking the Continue Button.
      032

    2. Now you need to assosiate this Provisioning Profile with an App ID. You already created one if you followed along in Part 3: Creating an App ID
      Selected the App ID you want.
      033

      With an App ID selected you can continue by clicking the  Continue Button.
      034

      The Provisioning Profile also need to know what Certificates to associate with. Here you will see a list of all Certificates available for development use.
      If you followed Part 2: Creating a Development Certificate your Certificate should be available here in this list. Select 1 or more Certificates to associate with this Provisioning Profile.
      035

      In order for the app to install on the device, you must explicit select the devices you want your “development-app” to run on. If you completed the Part 4: Registering devices you should know all about adding new devices. Select one or more devices and go ahead an click the  Continue Button.
      036

    3. You can now give this Provisioning Profile a name. This should be something that relates to the usage. I always use “App name ” + “-” + “Dev / Prod” + “Provisioning Profile”
      So if my apps name is: “My App Name”, then my Profile name will be: “My App Name – Dev Provisioning Profile”
      037

      After you have entered your Profile Name, you are ready to Generate the file. Click the Generate Button and let the site show its spinner for a moment while it generates the file.
      038

    4. Congratulations! If everything goes well, the Provisioning Profile is ready for you to download.
      039

Part 6: Creating a Certificate for Production use

This is a Certificate that you will be using for creating an .ipa file that you can submit to apple.

  1. Make sure that you are logged in as described in part 1. Go ahead and click the Certificate menu item.
    040

  2. In the Certificates area you can see all certificates that have been created. Select the Production Menu to see your all your Production certificatates.
    041

  3. When Production section is selected, you only see the certificates that have been created for Production use. Lets create a new Certificate. Click the ( + ) Button.
    042
  4. Make sure you choose the App Store and Ad Hoc radio button.
    043
  5. The Flow for creating a certificate for Production use is the same as for development use. You can just redo the steps from Step 2, “Creating a Certificate for Development use” guide. Just make sure that you use the naming conventions related to “Production” instead of “Development”.
    044

Part 7: Creating a Provisioning Profile for Distribution use

  1. Make sure that you are logged in as described in part 1. Go ahead and click the Provisioning Profiles menu.
    045

  2. This is the overview of all your Provisioning Profiles. Continue by selecting the Distribution section.046046046
    046

  3. In the Distribution section you can now click the ( + ) button, to create a new Provisioning Profile for Distribution use.
    047

  4. Make sure that you select the App Store radio button.
    048

  5. The Flow for creating a Provisioning Profile for Distribution use is the same as for Development use. You can just redo the steps from Selecting App Id in the guides from “Creating a provisioning profile for Development use”. Just make sure that you use the naming conventions related to “Distribution/Production” instead of “Development”.
    049

 


part 8: Creating an Enterprise Certificate for Development use

  1. Make sure that you are logged in as described in part 1, and with an Enterprise Program user/team. Navigate to the Certificates area.
    050

  2. In the Certificates area, you can go ahead and click the ( + ) button to create a new certificate.
    051

  3. Select the iOS App Development radio button.
    052

  4. With the iOS App Development radio button selected, you can now click the continue button.
    The Flow for creating a certificate for Development use in the Enterprise Program is the same as for normal development use. You can just redo the steps from Step 2, “Creating a Certificate for Development use” guide. Just make sure that you use the naming conventions related to “Development Enterprise Program” instead of “Development”.
    053

part 9: Creating an Enterprise Certificate for Production use

  1. Make sure that you are logged in as described in part 1, and with an Enterprise Program user/team. Navigate to the Certificates area.
    054

  2. In the Certificates area, you can go ahead and click the ( + ) button to create a new certificate.
    055

  3. Select the In-House and Ad Hoc radio button.
    056

  4. With the In-House and Ad Hoc radio button selected, you can now click the continue button.
    The Flow for creating a certificate for In-House and Ad Hoc use in the Enterprise Program is the same as for normal development use. You can just redo the steps from Step 2, “Creating a Certificate for Development use” guide. Just make sure that you use the naming conventions related to “In-House and Ad Hoc” instead of “Development”.
    057

part 10: Creating an Enterprise Provisioning Profile for Development use

  1. Make sure that you are logged in as described in part 1, and with an Enterprise Program user/team. Navigate to the Provisioning Profiles area.
    058

  2. In the Provisioning Profiles area, you can go ahead and click the ( + ) button to create a new Provisioning Profile.
    059

  3. Select the iOS App Development radio button.
    060

  4. With the iOS App Development radio button selected, you can now click the continue button.
    The Flow for creating a Provisioning Profile for iOS App Development use in the Enterprise Program is the same as for normal development use. You can just redo the steps from Selecting App Id in the guides from “Creating a provisioning profile for Development use”. Just make sure that you use the naming conventions related to “Development Enterprise Program” instead of “Development”.
    061

part 11: Creating an Enterprise Provisioning Profile for Distribution use

  1. Make sure that you are logged in as described in part 1, and with an Enterprise Program user/team. Navigate to the Provisioning Profiles area.
    062

  2. In the Provisioning Profiles area, you can go ahead and click the ( + ) button to create a new Provisioning Profile.
    063

  3. Select the In House radio button.
    064

  4. With the In House radio button selected, you can now click the continue button.
    The Flow for creating a Provisioning Profile for In House use in the Enterprise Program is the same as for normal development use. You can just redo the steps from Selecting App Id in the guides from “Creating a provisioning profile for Development use”. Just make sure that you use the naming conventions related to “In House Enterprise Program” instead of “Development”.
    065

  • MrLove

    instant bookmark ! thx a lot :)

  • PhantomFlyer

    Thank You, this process is so confusing. I wanted to know if I had to make an app id, development and distribution profiles for each app I create and you answered it. Thank you again!

  • qian

    Share ios certificates and provisioning profiles Quick application tool Appuploader, you can directly apply for a certificate in the Windows system, do not need Mac key master.

  • qian

    ios app submit to app store from windows guidelines