NOTE: This page applies to Intel® XDK builds before build 3088. For Intel XDK version 3088 or higher, so please see Creating an Apple iOS* Distribution Certificate and P12 File with Intel® XDK - Walkthrough instead of this page. Version 3088 provided major changes to the Build tab and certificate management (see the Release Notes).
This page walks you through the process of obtaining an Apple iOS* App Store* and Ad Hoc (distribution) certificate, which enables you to create a distribution provisioning profiles. As you use your Apple Developer account to generate your Apple App Store* and Ad Hoc certificate, you will also generate a Certificate Signing Request (CSR) as explained below.
Login to Your Apple Developer Account
1 - After you sign into your Apple Developer account using a web browser, click Member Center and click Certificates, Identifiers & Profiles.
2 - Locate the Certificates folder in the left panel and click Certificates.
Select App Store and Ad Hoc in the Production Category
If you already have an App Store and Ad Hoc certificate (.cer) file in your Apple Developer account, you can use your Apple OS X system (or some other method) to create a P12 file using that existing certificate file. In that case, go directly to step 10 (below) and upload that P12 file using step (1b) in the Intel XDK Cordova iOS Build panel on the Build tab.
3 - Click the + to create a new certificate.
4 - Under Production (aka Distribution), select (check) App Store and Ad Hoc.
5 - Click the Continue button.
Create the CSR File
6 - Click the Continue button.
You have two options for creating the CSR file:
- Using your Apple OS X* system, follow the About Creating a Certificate Signing Request (CSR) insructions provided in the Add iOS Certificate panel of your Apple Developer account.
- Download a CSR file using step (1a) in the Intel XDK Cordova iOS Build panel on the Build tab (especially useful if you do not have an OS X system).
To create a CSR file using the Intel XDK Build tab:
- On the Intel XDK Build tab, click the iOS build tile.
- Click the Edit button next to iOS Certificate.
- In step (1a), click the download button and save the CSR file to your local system.
Generate a Certificate using your CSR File
7 - Click the Choose File button and locate your saved CSR file (from the previous step).
8 - Click the Generate button to create the certificate.
Download the Generated Certificate
9 - After it has been generated, click Download and save your App Store and Ad Hoc certificate (.cer file) to your local file system.
Upload the App Store and Ad Hoc Certificate (.cer file)
10 - You must provide the build system with an App Store and Ad Hoc certificate in order to build an iOS app for distribution in the Apple App Store. You upload that certificate using step (1b) in the Intel XDK Cordova iOS Build panel on the Build tab.
If you used your Apple OS X system (or some other method) to create a P12 file, instead of a certificate (.cer) file, you can upload that P12 file using step (1b) on the Intel XDK Cordova iOS Build panel. See Exporting an Apple iOS* P12 Certificate File for instructions on how to do this with an Apple OS X system (export a "distribution" or "production" certificate rather than a "development" certificate to create a P12 file for building apps).
Use your App Store and Ad Hoc certificate to generate one or more iOS Distribution Provisioning Profiles. These mobile provisioning files are needed for testing (Ad Hoc) and for submitting your application to the Apple App Store (production).
If you wish to use the Debug tab with an iOS device, you will need an Apple Development Certificate (see Creating an Apple iOS* Development Certificate) to create a "debuggable" version of Intel App Preview that can then be installed on your USB-connected iOS device for use with the Intel XDK Debug tab.