This blog post shows you how to prepare your Apple Developer Account for installing apps on physical iOS devices.
You will first create a certificate needed to sign your apps. In this guide we will create a Development certificate. You will need a Production certificate for publishing apps to the App Store. Next you will create a wildcard App ID which can be used for all Android apps you convert with MechDome. Lastly you will create a provisioning profile which will tie your App ID to your Development certificate and the devices you will use for testing.
Log in to your Apple Developer Account at https://developer.apple.com. Select Certificates,Identifiers & Profiles and click on “Development” under Certificates on the left navigation bar. You will be presented with any existing certificates.
Click the ‘+’ button to create a new development certificate. Select “iOS App Development” and click “Continue” at the bottom of the page.
You must follow the instructions presented in the “Create a CSR file” page. You will need a valid CSR file to complete the next step.
Upload the CSR file to generate your developer certificate. Click “Continue”.
Click “Download” and double-click on the downloaded file to add the newly created certificate to your keychain.
In the left navigation bar select “App IDs” under “Identifiers”
Click the ‘+’ button to create a new App ID. Enter a name for the App Identifier. This name will only be visible to you in the the Apple Developer website. Select “Wildcard App ID” and type “*” in the “Bundle ID” field. Do not select any App Services. Click “Continue”.
Click “Register” to create the wildcard “App ID”.
You must register every device you want to use for testing. Your app can only be installed on registered devices. You register a device via its UDID.
Connect the device you want to register to a Mac computer and run the following command:
xcrun instruments -s devices. You will be presented with a list of physical and simulated devices. Find the device you want to register, the UDID is the hexadecimal number in brakets
<device name> [56B43C73A3984A40AF21C5BC2A5A5DEF]
Select “All” under “Devices” on the left navigation bar. Click the “+” button. Enter Name and UDID of the device and click “Continue”.
Select “Development” under “Provisioning Profiles” on the left navigation bar.
Click the “+”” button on top right side of the page. Select “iOS App Development”. Click “Continue”.
Select the wildcard App ID from the drop down
Select the development certificate created above. Click “Continue”.
Select the devices you want to enable in this profile. Your apps can only be installed on the selected devices.
Enter a name for this Provisioning Profile. Click “Continue”.
Click Download to save your Provisioning Profile locally. The provisioning profile file required for signing apps you download from MechDome.