Intermediate Build Process (Apple)

There are several steps to grant access to Entegy for Apple app store submission.

  1. Add Entegy to iTunes Connect. This enables us to create and submit apps.
  2. Add Entegy to Apple Developer Center. This enables us to create App IDs, push certificates and provisioning profiles.
  3. Provide Entegy with your Apple Team ID. You need this to create your Store Account.
  4. Provide Entegy with the Apple Signing / Distribution Certificate. We require this to create builds for distribution.

1) Add Entegy to iTunes Connect

Entegy needs to be an Admin in your iTunes Connect team to be able to create and submit apps.

  1. Login to https://itunesconnect.apple.com/
  2. Click Users and Roles
    1.2.png
  3. Click the plus sign next to User(s)
    1.3.png
  4. Enter the following details into the form then click Next
    First Name: Build
    Last Name: Team
    Email: buildteam@entegy.com.au
    1.4.png
  5. Select Role as Admin and click Next
    1.5.png
  6. Click Save

 

2) Add Entegy to Apple Developer Center

Entegy needs to be an Admin in your Apple Developer Center team. This enables us to create App IDs, push certificates and provisioning profiles.

  1. Go to https://developer.apple.com/account/
  2. Click People in the left panel
    2.2.png
  3. Click Invite People
  4. Type buildteam@entegy.com.au in the Invite as Admins field
    2.4.png
  5. Click Invite

 

3) Provide Entegy with your Apple Team ID

  1. Go to https://developer.apple.com/account/
  2. Click Membership in the left panel
  3. Take note of the Team ID
    3.3.png

 

4) Provide Entegy with the Apple Signing / Distribution Certificate

Entegy needs an Apple Signing / Distribution Certificate to create builds for distribution.

There are two options:

  1. Create a new certificate and send it to Entegy
  2. Provide Entegy with an existing certificate

 

Option 1: Create a New Certificate and Send to Entegy

  1. Go to https://developer.apple.com/account/
  2. Click Certificates, IDs & Profiles in the left panel
  3. Click the plus (+) symbol in the top right
  4. Under Production, select App Store and Ad Hoc
  5. Click Continue
    Note: If you have generated the maximum number of certificates, this option will be red and unavailable for selection. In this case, you must follow option 2 - Provide Entegy with an existing certificate.
  6. Create a Certificate Signing Request using the relevant instructions below

You now have the choice to use Mac OS X or Windows to create a certificate.
Note: The instructions for creating a certificate on Windows are not supported and should only be followed by someone with relevant knowledge and expertise.

 

With a Mac running OSX:

  1. Press Command + Spacebar to bring up the Spotlight search
  2. Search for Keychain and open Keychain Access
  3. Click “Keychain Access” in the top menu
    mac_3.png
  4. Under Certificate Assistant, click Request a Certificate From a Certificate Authority...
    mac_4.png
  5. Enter your details into the box that appears and click Continue
    mac_5.png
  6. Click Save
    mac_6.png
  7. Return to the Apple Developer Center click Continue
  8. Upload the Certificate Signing Request file.
    mac_8.png
  9. Click Continue
  10. Click Download
  11. Open the downloaded file
  12. Return to Keychain Access and click My Certificates in the left menu
  13. Locate  “iPhone Distribution: “ followed by your Apple Developer Name
  14. Click the dropdown arrow to reveal the Private Key
    mac_14.png
  15. If you can’t find the certificate or it doesn’t have a private key, it may be in a different Keychain from
  16. the one with the private key. You need to click and drag the certificate into the Keychain with the private key
    mac_16.png
  17. Right-click the Certificate and select Export “certificate_name”...
  18. Type Entegy Cert into the Save As field
  19. Click Save
  20. Decide and Type a secure password of at least 10 characters into the Password and Verify fields
    1. Securely store this password as it will be needed later in the process

 

With a Windows PC:

  1. Download and install OpenSSL. https://www.openssl.org/source/
  2. Generate a Certificate Signing Request:
    1. Open up a command terminal (make sure to run it as an administrator)  and change your working directory to the directory of the bin folder of the OpenSSL installation. Eg. cd c:\OpenSSL-Win64\bin
    2. Create your private key with the following command:
      openssl genrsa -out keyname.key 2048
    3. This will generate a file called keyname.key in the bin folder. You can substitute a different name for keyname if you wish.
    4. Run the following command to create a certificate signing request:
      openssl req -new -key keyname.key -out CertificateSigningRequest.certSigningRequest -subj "/emailAddress=you@yourdomain.com, CN=Your Name, C=AU"
      1. Change the command to suit your details, if you changed the private key to something else make sure to reflect that here. The “C=AU” portion indicates the country code, you could replace this with US if you are from the United States for example.
  3. Generate a development or distribution certificate
    1. Return to the Apple Developer Center and upload the Certificate Signing Request file you created in above step 2d.
      The file will be located in the OpenSSL bin directory
    2. Download the certificate and save it in the OpenSSL bin folder
  4. Generate the .p12 file
    1. Return to command prompt, run the following command:
      openssl x509 -in developer_certificate.cer -inform DER -out app_pem_file.pem -outform PEM
    2. Replace ‘developer_certificate’ with the name of the certificate you just created and if you wish you can change ‘app_pem_file’ to whatever you wish.
    3. Now run the following command:
      openssl pkcs12 -export -inkey keyname.key -in app_pem_file.pem -out app_p12.p12
    4. When prompted, decide and Type a secure password of at least 10 characters into the Prompts
      • Securely store this password as it will be needed later in the process

 

Option 2: Provide Entegy With an Existing Certificate

If your company has already created iOS apps, you likely have an existing Apple Signing / Distribution Certificate that you want Entegy to use.

  1. Open Keychain Access on the computer that was used to originally sign iOS apps
  2. Locate the iPhone Distribution certificate for signing builds
  3. Click the drop-down arrow to reveal the Private Key
    exist_3.png
  4. Right-click the Certificate and select Export “certificate_name”...
    exist_4.png
  5. Type Entegy Cert into the Save As field
  6. Click Save
  7. Decide and Type a secure password of at least 10 characters into the Password and Verify fields
    • Securely store this password as it will be needed later in the process

 

5) Create your Store Account

Follow the Intermediate Store Account Process here