This article will walk you through the process of obtaining an Apple iOS* P12 (Personal Information Exchange) file using the Apple Keychain* Access application on your Apple OS X* development system. You need to export this file before you use the Intel® XDK Debug tab with a USB-connected iOS* mobile device.
Alternatively, you can use the instructions on the Intel XDK Debug tab to guide you through this process, after you connect your iOS test device via a USB cable. If you are using a Windows machine you must first install and run iTunes before attaching your iOS device to your system.
To generate a P12 file on a Windows machine, using your Apple Developer certificates, see these articles:
- How to Create an iOS Provisioning Profile and P12 with Windows
- Building an iOS signing key for PhoneGap in Windows
Before you can export a P12 file you must first generate and import your Apple Developer Certificate(s) into your Apple keychain.
Start the Apple Keychain* Application
1 - On your Apple OS X* development system, locate and start the Apple Keychain* Access application in Launchpad; or in the Utilities folder inside the Applications folder; or by typing "keychain" in the "Spotlight Search" bar.
Export the P12 Certificate File
2 - Select the Apple certificate to be exported in a P12 file (you will need a Developer certificate for use with the Debug tab and a Production (aka Distribution) certificate for use with the Build tab).
3 - Click File in your Apple menu and select Export Items from the drop-down menu.
4 - In the Save As field, enter a name for the P12 file you are exporting.
5 - Enter a password for your P12 file (a one character minimum password is required for importing a P12 file into the Intel XDK Build system). Click OK to finish.