Set your app on Apple Developer

Author: Dana-Maria ROBU
Publishing date: 23/01/2020
Version history: 2.0

Apple Developer is Apple Inc.‘s developer network, designed to make available resources write software for the iOS platforms. Then iOS applications are uploaded on the App Store (iOS).

Before setting your application on Apple Developer, you need to have active accounts on Cloud Connect and Apple Developer.

To set your application on Apple Developer you need to:

  1. Create a production certificate.
  2. Create an application ID.
  3. Register test devices.
  4. Create a profile.

1. Create a production certificate

1.1. Add a new certificate

  1. Connect to Apple Developer page.
  2. Click on the Certificates, Identifiers&Profiles icon to create a new certificate.
1
Click the Certificates icon.

The Certificates interface displays the list with previous certificates, if already created.

3. Click on the + button to create a new certificate.

4. Select the iOS distribution (App Store and Ad Hoc) certificate and click on the Continue button.

5. Click on the Choose file button to upload and authenticate your computer and to obtain the key associated to the certificate.

1
Select the certificate type.
2
Click on the button.

Access the Keychain Access on your computer to create a CSR file.

1.2. Generate a CSR file on your Mac

  1. Click on the Keychain Access/Certificate Assistance to request a certificate from a Certificate Authority.
1
Select the Keychain Access tab.

2. Fill in the email address and the name in the Certificate Information.

3. Select to save the certificate to disc.

4. Click on the Continue button.

1
Fill in the information.
A file with .certSigningRequest is created in the designated folder.

5. Choose the CSR file to upload, then click on the Continue button to generate the certificate.

1
Upload the file.
2
Click on the Continue button.
A new certificate is generated and you can download it.

6. Click on the Download button to get the certificate as .cer file and save it on your computer.

1
Click to download the certificate.
2
Save the file on your computer.

1.3. Add a certificate in the Keychain Access

  1. Double click on the .cer file previously downloaded.
1
Saved in the Keychain access.
The Keychain access opens and the certificate and its private key are associated to it. They are visible in My certificates menu.

Keep updated the certificates list. If you have double it might create problem when signing an application. Apple certificate must have its private key to be used. You cannot sign an application without the private key. The .cer file given by Apple does not contain the key. The key is saved on the computer from where you have done the demand. For further details, see How to share a certificate and its private key.

2. Create an application ID

  1. Connect to Apple Developer page.
  2. Click on the Account tab, select Certificates, Identifiers&Profiles on the main page.
  3. Select the Identifiers tab in the left side menu of the page.
  4. Click on the + button to open the form for identifiers creation.
1
Click on the Identifiers tab.
2
Click to add a new Identifier.

Check the Display in the menu button to display the Category in AppFactory. Some application templates contain a category menu. This determines whether or not this menu will display the Category.

5. Register an App ID to enable your app to access available services and identify your app in a provisioning profile. You can enable app services when you create an App ID or modify these settings later.

6. Select the App Ids and click on the Continue button.

1
Select the App IDs.
2
Click to continue.

7. Fill in the name of the application in the Description field, displayed only on Apple Developer interface, and the APP ID Prefix, used only by Apple.

8. Select Explicit App ID and fill in the Bundle ID.

Use reversed URL format, unique by definition: ex. com.aquafadas.name_application. If you chose the Bundle ID in Cloud Connect, there is no need to create a new one. Just copy-paste it here. Wildcard App ID allows one single App ID on different applications and finishes by *. It is often used by Apple developers to test, but it is not compatible with tests for applications done with the Aquafadas system. With this type of App Id it is impossible to test the in-app products and Push notifications.

1
Type a description.
2
Type the Bundle ID.

Apple accepts all characters for Bundle ID, except *. Exclude special characters and numbers to maintain compatibility with Android, in case you create a multi-platform application. Cloud Connect excludes also special characters and numbers for the same reason.

9. Select Push Notifications to allow sending notifications, then click on the Continue button.

1
Select Push Notifications
2
Click to continue.

10. Click the Register button to confirm and create the App ID.

1
Click the Register button.
The App ID is registered and added to your IDs list.
1
Click on the Identifiers tab.
2
Click to add a new Identifier.

3. Register test devices

To register test devices, you need to get their UDIDs as you register them on Apple developer via these identifiers.

3.1. Register Test devices

  1. Connect to Apple Developer page.
  2. Click on the Account tab, select Certificates, Identifiers&Profiles on the main page.
  3. Select the Devices tab in the left side menu of the page.
  4. Click on the + button to open the form for identifiers creation.
1
Select Devices tab.
2
Click the + sign.

5. Register device(s).

  • Select Register Device button to register one test device.
    • Fill in the Name of the device: quick description of the device, type, user.
    • Fill in the UDID (Unique Device Identifier): device identifier.
1
Select the platforms.
2
Name the device.
3
Fill in the UDID.

The UDID is unique and used only by Apple. It is different from the one used by Cloud Connect. Apple UDID allows you to test applications, while Cloud Connect UDID allows you to test Issues.

  • Select Register Multiple Devices button to register up to 100 devices.
    • Download the sample file to fill in with the devices you want to register.
    • Upload the file containing the devices by clicking on the Choose File button.
1
Upload the file.
2
Click to register the file.
The new devices are added and listed in the main page of the Devices tab.

3.2. Get the UDID of iOS devices

In order to get the UDID of an iOS device you need to connect to your iTunes account.

Get the UDID via iTunes
  1. Connect the device to your Mac.
  2. Open the iTunes application.
  3. Click on the serial number displayed once your device is recognised.
1
Click on the serial number.
The UDID of the device is displayed.
1
UDID displayed.

4. Create Ad-Hoc or App Store profiles

Once you create an Ad-Hoc or app Store profile, you need to install it on your computer too.

4.1. Create the Ad-Hoc or App Store profile

  1. Connect to Apple Developer page.
  2. Click on the Account tab, select Certificates, Identifiers&Profiles on the main page.
  3. Select the Profiles tab in the left side menu of the page.
  4. Click on the + button to create a new profile.
1
Click on the Profiles tab.
2
Click the + sign.

5. Select the Profile type, then click on the Continue button.

  • AppStore: applications compiled with this profile are submitted to Apple for validation.
  • AdHoc: applications compiled with this profile are installed only on test devices.
1
Select Ad-Hoc profile.
2
Or the App Store profile.
3
Click to continue.

6. Select the App ID of your application, then click to continue.

1
Select the App ID profile.
2
Click to continue.

7. Select the certificate to include in the provisioning profile.

To use this profile to install an app, include the certificate the app was signed with in the profile.

1
Select the certificate.
2
Click to continue.

8. Select the devices for the Ad-Hoc profile/application, then click to Continue.

1
Select devices.
2
Click to continue.

9. Name the provisioning profile for the Ad-Hoc app, with the App ID, certificates and devices listed below the name field.

10. Click the Generate button to generate the new profile.

1
Name the provisionning profile.
2
Click to generate.
The provisioning profile is ready to be downloaded and installed on your computer.
1
Download the provisioning profile.

4.2. Install a provisioning profile on your computer

Once you downloaded the provisioning profile you can install it on your computer.

  1. Open Xcode.
  2. Click on Preferences tab, in the Xcode wiondow, to connect to your apple developer account.
  3. Click on the View Details button to display the certificates and account profiles.

4. Click on the Refresh button to update the profiles list.

Leave a Reply