At the highest level, the steps are Creating a Certificate, Adding Devices, Creating an App ID and and Creating a Provisioning File.
Creating a CertificateThis step is how Apple ensures the authenticity of the apps created for distribution. You will
- obtain a certificate that lets Apple securely encrypt information they send back to you
- provide Apple with the certificate and download an encrypted code-signing key that says you are who you claim to be
- decrypt the code-signing key and store it on your computer.
- export the code-signing key so EachScape can perform builds on your behalf
You should only need to do this step annually. When this certificate expires, it will not be possible to produce a build of your app.
Let's get started.
Step 1: Get a Code Signing Request (CSR)Start the Keychain Access program. It's located in the Utilities folder on your Mac. Or, press Command-Space and start tping Keychain and you will see it apear as an option.
From the Keychain Access menu, choose Request a Certificate from a Certificate Authority.
A dialog will appear like following and where this example says "Robots" you should type the name of your company.
You will be prompted to save the file disk. Make a note of where it's being saved. You will need it in the next step (but feel free to delete it after you complete these steps.
Step 2: Upload the CSR to AppleOn the left navigation choose Certificates.
Across the top tabs choose Distribution. Many people miss this step.
If you get to this step and the actions column says includes a Download button, STOP! This indicates there is a valid certificate somewhere in the world. If you revoke the certificate, any other developer who has a copy of the certificate will be unable to use it. However, you may choose to revoke the certificate and proceed. Just be sure you understand what you are about to do.
Press the Request Certificate button.
Scroll to the bottom of the next screen and use the Choose File button to select the file you created earlier with Keychain Access.
Press the Submit button.
Step 3: Download the Certificate Issued by Apple
You will be returned to the Distribution tab and the status column will probably "Issued". Wait about 10 seconds and refresh the browser window. The actions column should now contain a Download button. Click the Download button.
Step 4: Export the Certificate
Once you have downloaded the file, import it into Keychain Access. Normally this is done by opening the file, but you can also choose the Import Items... option from the File menu.
The last step of the process is to export the certificate. In the Keychain Access application, navigate to the My Certificates category, find the certificate you just downloaded and click on the disclosure triangle to the left of the certificate.
Select both items, right-click and select Export 2 Items...
You will be prompted to save the file, assign a password to the file (one you can share with EachScape) and usually you will also be asked to provide your password to allow the file to be exported. The file should be at least 6-7k bytes large - if it is smaller, please verify that you exported 2 items.
Send the file to EachScape by email. We recommend you communicate the password to us by some other channel.