“This is the fifth day of my participation in the August More Text Challenge. For details, see: August More Text Challenge.”

Today I’m going to share with you in detail how to apply for a personal paid developer certificate and how to use it. The basic concept

Before we get started, let me give you some basic concepts related to the Apple Developer Certificate.

Certification and P12 (Certificate)

A certificate is a certification of computer development qualifications. There are two types of certificates for each developer account:

  • Developer Certification: for development testing;
  • Distribution Certification: packages for testing ipa or Appstore installations;

The. Cer certificate is the default one that can be used in Xcode development packages. If you use lBuilder, PhoneGap, HBuilder, AppCan, or APICloud, you need to use p12 files. Others use the P12 certificate.

A.cer certificate contains only the public key, while a.p12 certificate may contain both a public key and a private key. This is the difference between the.cer certificate and the.p12 certificate.

Identifiers(Appids)

The identity of the APP, such as the name description of the APP, the package name.

Devives (equipment)

Device list, indicating that the APP can be installed on these machines during installation and debugging. The uDID is used for unique judgment of the device, and the device needs to be selected when creating Profiles.

Profiles

This file is used to describe the relationship between App IDs, certificates and devices. When doing automated tests, we usually only use the Development description file, which needs to be used on the computer with the Development certificate or copy. The developer selects this description file and installs it into the device recorded by the authorization file through Xcode. Can be real machine test.

Apply for account

Search for “Developer” in the App Store and install and open:

Select the account and click Sign up now

Follow the prompts in turn to enter personal information and then the payment can be, or relatively simple.

Create a Certification

1. After applying for an account, log on to the Apple Developer website: developer.apple.com/cn/ and select the part in the red box…

2. To apply for a certificate, click ➕ below

3. Choose Apple Development and move on

4. At this time, we need to apply for the certSigningRequest(CSR) file on our Mac computer, and open the certificate assistant as shown in the following figure

5. Enter the email address and name, and select Save to disk

Choose the File you created in Step 5

7. Confirm the information download certificate

8, double click the certificate, import to the computer, you can see the certificate just imported in the key chain, here need to trust

Create Identifiers

1. Click ➕ below

2. Select App IDs to continue

3. Select App

4. Enter the name description and package name (usually com.xxxx.xxxx).

To confirm the information, click register to see the Identifier you have created in the list of Idntifiers

Add test Devices

1. The automated application can be installed only after the test equipment is added on the developer website. Click ➕ below to add the equipment

2. Enter the corresponding information (note that you need to obtain the UDID of the device).

3. After confirming the information, click register to see the newly created phone in the Devices list

Create Profiles

1. Click ➕ below

2. Select iOS App Development to continue

3. Select the Identifiers you created earlier, called appids

4, select the previously created Development certificate

5. Select the test device you just added

6. Enter a name for the description file

7. After confirming the information, click download. The file name suffix downloaded is Mobileprovision

Import the use

Using the previous WDA project as an example, click on Provisioning Profile and select the description file you just downloaded