Chapter 2. iOS

2.1. Deploying an App on iOS

  1. You must possess an iOS Development or Distribution Certificate, see here for more info.
  2. Log on to the iPhone Provisioning Portal and use the test device’s UDID to create a device.
  3. Register the app’s App ID and then create a Provisioning Profile, see here for more info.
  4. Generate an iOS dev p12 file. A MAC is required to complete the following steps:

    1. Open the Keychain tool
    2. Navigate to "My Certificates" and locate your iOS Development or Distribution Certificate

      1. In the following image, an iPhone Developer certificate has been selected

        UDID

    3. Locate the Private Key and right-click on it. See the image above for reference
    4. Select the option 'Export "iOS developer:"<Name of Developer>' and export this file as a p12 file

      1. When prompted to enter a passphrase for the p12 file, enter a secure passphrase
      2. When prompted for a password for the keychain, enter the MAC password

        1. The p12 will be stored in the MAC’s keychain
  5. Create a Credential’s Bundle in the RHMAP Studio:

    1. Login to the RHMAP Studio
    2. In the 'Project' section, locate your iOS app and click on it
    3. Locate the 'Credentials' tab, click on it and then click 'Create New Bundle'
    4. Select the 'iOS' icon and enter data into the fields:

      1. Bundle name: Enter a meaningful name
      2. Private key: Select the p12 file that was exported
      3. Certificate: Select the p12 file that was exported
      4. Provisioning Profile: Select the Provisioning Profile created in the steps above
    5. Finally, click 'Create Bundle' to create a Credential’s Bundle
  6. Use the Credential’s Bundle to build the application using the RHMAP Studio. A QR code will be created.
  7. There are two ways to install the app:

    1. Use the QR code to install the app on the test device
    2. Download the binary, an .ipa file, from the RHMAP Studio and install the .ipa file using iTunes