Prerequisites for iOS app for customers

Prerequisites for code signing iOS app for customers

To enable your customers intall your Zoho Creator app as a native app on their iOS device, Apple mandates that you have to code sign your app using the certificates from the Apple Developer Program. Code signing your app for iOS has prerequisites:

  1. Enrolling in the Apple Developer Program
  2. Creating a p12 file
  3. Creating an App ID
  4. Creating an APNS p12 file
  5. Creating a Profile

1. Enroll in the Apple Developer Program

  1. Visit https://developer.apple.com/programs/whats-included/.
  2. Click the Enroll button at the top.
  3. Read through the What You Need to Enroll page and click the Start your Enrollment button.
  4. Sign in using your Apple ID. Create an Apple ID if you do not have one, then follow steps 1-3 again.
  5. Agree to the legal agreement and click the Submit button.
  6. Select Entity Type, read the guidelines, then click Continue.
  7. Enter the required information and click Continue.
  8. Make a payment and get verified from Apple.

2. Create a p12 file

  1. Go to Keychain Access in your Mac.
  2. Click Keychain Access in the top menu bar.
  3. Select Certificate Assistant > Request a Certificate from a Certificate Authority.

  4. Enter your email address in the User Email Address field.
  5. Create a name for your private key in the Common Name field.

    Note:The CA Email Address field must be left empty.

  6. Select the Saved to disk option in the Request is group.
  7. Click Continue to complete the CSR generating process. The (. certSigningRequest) file will be saved on the desktop by default.
  8. Go to https://developer.apple.com and log in with your Apple ID
  9. Select Certificates, IDs & Profile from the left menu list.

  10. Click the (+) icon on the top right.

  11. Select App Store and Adhoc.
  12. Click Continue.
  13. Click Continue again.
  14. Upload the .certSigningRequest file mentioned in step 7.
  15. Click Continue.
  16. Download the certificate and open it.
  17. Go to Keychain Access on your Mac.
  18. Select My certificates under Category in the bottom-left pane. The certificate you downloaded along with a private key will be available in the right pane.
  19. Control-click and select Export.
  20. Create a password for the file and remember the same for future use.
  21. Download the p12 file.

3. Create an App ID

  1. Go to https://developer.apple.com and log in with your Apple ID.
  2. Select Certificates, IDs & Profile from the Overview page.
  3. Click App IDs under Identifiers tab in the left.
  4. Click the (+) icon on the top right of the header bar.
  5. Enter a valid name for the App ID (for your reference) in the App ID Description section
  6. Select Explicit App ID and provide a Bundle ID (in reverse domain - com.companyname.appname) in the App ID Suffix section.
  7. Click Continue.
  8. Click Register.

4. Create an APNS p12 file

  1. Go to Keychain Access in your Mac.
  2. Click Keychain Access in the top menu bar.
  3. Select Certificate Assistant > Request a Certificate from a Certificate Authority.

  4. Enter your email address in the User Email Address field.
  5. Create a name for your private key in the Common Name field.

    Note:The CA Email Address field must be left empty.

  6. Select the Saved to disk option in the Request is group.
  7. Click Continue to complete the CSR generating process. The (.certSigningRequest) file will be saved on the desktop by default.
  8. Go to https://developer.apple.com and log in with your Apple ID
  9. Select Certificates, IDs & Profile from the left:

  10. Click on the App ID that you created in the previous section.
  11. Click Edit.
  12. Check the Push Notifications checkbox, then under Production SSL Certificate, click Create Certificate.
  13. Click Continue.
  14. Upload the .certSigningRequest that you downloaded in step 7 of this section, then click Continue.
  15. Download the certificate and open it.
  16. Go to Keychain Access on your Mac.
  17. Select My certificates under Category in the bottom-left pane. The certificate you downloaded along with a private key will be available in the right pane.
  18. Control-click and select Export.
  19. Create a password for the file and remember the same for future use.
  20. Download the p12 file. This will be your APNS p12 file.

5. Create a Profile

  1. Go to https://developer.apple.com and log in with your Apple ID.
  2. Select Certificates, IDs & Profile from the left menu list.
  3. Click Distribution under the Provisioning Profiles tab in the left menu.
  4. Click the (+) button in the header bar.
  5. Select App Store under Distribution.
  6. Select App ID that you created previously on the next page.
  7. Choose the certificate you set up in the first phase.
  8. Enter a name for the provisioning profile (for your reference).
  9. Download the file.

Related Topics

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohocreator.com