How do I Create a Development Profile for iOS?

Updated Oct 28, 2020

This lesson describes how to set up a development provisioning profile that can be used for iOS Apps  compiled with LCFM Native. It is assumed that you have signed up to the iOS Apple Developer Program. This process is very similar to creating a distribution profile (http://lessons.runrev.com/m/4069/l/32957-how-do-i-create-a-distribution-profile-for-ios) so a few steps will be duplicates.

Introduction

A development profile is required if want to test your application on any iOS devices that you have access to. LCFM Native will automatically locate your development profile once it has been set up, and you can choose it from the iOS deployment window.

The information discussed here is reduced and is also covered on the apple iOS Provisioning Portal website. You can access that additional information by logging into the iOS provisioning portal that is accessible from: https://developer.apple.com/.

Generating a Certificate Signing Request

Generating a Certificate Signing Request

The first step in setting up a development profile is to create a certificate signing request. You can do this on your Mac. Launch the Keychain Access.app that is stored in Applications/Utilities. Then execute the following steps in your Keychain Access application:

1. Select Keychain Access > Certificate Assistant > Request a Certificate From a

Certificate Authority... and ensure that you do not have any of your certificates

highlighted, otherwise the Provisioning Portal will not accept your certificate request.

2. Enter your valid e-mail address in the User Email Address field. Ensure that the e-mail

address is the same as the one you used when you registered as an iOS Developer.

3. Enter your name in the Common Name field. Ensure that the name you enter is the

same as the one you used when you registered as an iOS Developer.

4. A CA Email Address is not required.

5. Select the Save to disk radio button and tick Let me specify key pair information,

if it is present.

6. Press Continue.

7. A dialog appears that allows you to specify where you would like the certificate signing

request to be stored. Specify a location and select Save.

8. Press Continue.

9. The certificate is then generated and written to the file you specified under step 7.

Submitting a Certificate Signing Request

After you have generated a certificate signing request, you need to submit your certificate for approval. Log into the iOS Provisioning Portal that is accessible from: https://developer.apple.com/account/ios/certificate/certificateList.action.

This link takes you directly to the Certificates, Identifiers & Profiles section of you iOS developer account. The Certificates, Identifiers & Profiles Portal provides you with a link to Certificates. Select the "Development" tab and follow these steps:

1. Click the Add Certificate button (+).

 

2. Select "Apple Development" as type then press continue

3. On next screen select "Choose File" and select the certificate you created in the previous step and then press "Generate"

Downloading and Installing a Development Certificate

Downloading and Installing a Distribution Certificate

Remain on the same page as the one you were on when you submitted the certificate signing request, then follow these steps to download and install the certificate:

5. Download Generated certificate by clicking the "Download" button.

6. Double click the downloaded certificate to install (alternatively drag to the keychain utility)

If you by chance navigated away from this page, don't worry. Simply press the development tab again, select your Name and then press the "Download" button.

You can then follow step 6

 

Backing up your Certificates

Backing up your Certificates

It is important that you backup the keys you created. This allows you to develop on multiple Macs or reinstall the keys after unexpected data loss. You can export your private keys and certificates through the Keychain Access application:

1. Open the application Keychain Access.app that is stored in Applications/Utilities.

2. Select Keys.

3. Highlight the private key associated with the distribution certificate.

4. Select File > Export Items.

5. A window opens that allows you to specify where you would like to save your certificate.

6. Select Personal Information Exchange (.p12) as file format.

7. Select the file name.

8. Select Save.

9. You are prompted for passwords that allow you to access the key in the future.

You can now move on to creating your Identifiers, in the next lesson.

0 Comment

Add your comment

E-Mail me when someone replies to this comment
Previous Article Install Xcode
Next Article App Identifiers for iOS