Setup provisioning profile and certificate files for iOS devices

This article guides you on how to prepare one (or many) .p12 files and one (or many) provisioning profile .mobileprovision files which are required for iOS devices.

1. Create and submit .certSigningRequest to Apple Developer to create a .cert file

Step 1: Launch Keychain Access > select Certificate Assistant > select Request a Certificate From a Certification Authority.3a105cd5-5d3b-477f-8fe6-96dc2b9db415.png

 

Step 2: Next, enter User Email Address and Common Name (any name of choice), leave CA Email Address blank. Select Save to disk option and click Continue.2e608b4c-26a3-4eb0-8854-8f60663d5c0e.png

Choose the location to save the certificate and select Save.ab4694c1-d51a-421e-a5c8-ee57e1fb266c.png

 

Step 3: Next, go to www.developer.apple.com, login with your Apple Developer account and select Certificate, Identifiers and Profiles.3c3824fc-e84b-4e0e-a447-9b3ff1b8ba37.png

Select create new Certificates.ba5c1fbc-913a-4a9d-95ac-f88672666f60.png

 

Among the options, select Apple Development and select Continue.5200023f-d58c-4b7b-a06e-c6b37a428636.png

 

Next, select Choose File to upload the Certificate Signing Request generated in step 2 from local machine.36c68e7c-8214-4d1b-9136-27a23db4fad7.png

Once the certificate is uploaded, select Download to download the .cert file.db1e158f-d8e9-4b6e-879c-4726aabc3615.png

 

 

2. Install the .cer to Mac and export the .p12 file

Step 4: Launch Keychain Access, make sure login is selected under Default Keychains, then select Certificates category and drag the downloaded .cert file into it.7b22b7af-7b00-4bd9-b925-2e0e339be42d.png

After dragging the .cert file into Certificates, right-click at it and select Export “….cert file name…”.b780f66d-388e-43db-991d-b10e07e39f81.png

Select File Format as Personal Information Exchange (.p12), select a location to save the file and select Save. The .p12 file is created.b32dbb0e-2415-4737-b8ea-7e37738a6959.png
 

3. Download .mobileprovision Provisioning Profile file

Step 1: If you haven’t created an AppID before, here’s the guide to create one. Select create new Identifier.

6185aaaa-ea78-44f7-be44-c09f97b07244.png

Select App IDs, then select Continue.d87dc679-47a4-491e-9f97-537c6d0ba3c1.png

 

Input descriptions for the App ID, for Bundle ID, input com.* for Bundle ID and choose Wildcard option, then select Continue. The App ID is created.b96f7430-703c-4f20-8b94-d71d4f857171.png

 

Step 2: Add your iOS devices UDID to the mobile provisioning file. First, select Devices and Register a Device.f4078fd7-f42d-48da-94f2-d070649fa9fc.png

Input Platform, Device Name and Device ID (UDID) for a device, select Continue, then select Register.0cb23cd5-9258-49c5-a6c6-a0195ad2ef12.png

You can repeat to add more than one device.

 

Step 3: Once the device is added, select Generate a Profile.3b3bb645-b45d-4ff0-b548-7032d0754883.png

Select iOS App Development.9c9373af-5afb-41cc-975f-1136352ddea3.png

Select the App ID that had just been created above and select Continue.e53d74e0-6e8a-4ec8-9cb9-ce9e2976af8e.png

Select the Certificate that had been submitted and select Continue.efb2008d-9114-4a09-a837-4304619a6084.png

Select all devices that are going to be included in the Provisioning profile.89c40b4d-72c6-497f-a02c-2f23d96fa797.png

Enter a chosen Provisioning Profile name and select Generate, after that select Download to download theProvisioning Profile file (.mobileprovisioning).81f19099-9672-4f8b-b6e2-7ab31468ac25.png

 

 

 

Was this article helpful?
0 out of 0 found this helpful