Apple iOS certificate making tutorial

As we all know, if you need to put an Apple APP on the shelves, you must need an Apple iOS certificate to sign the APP, otherwise the Apple mobile phone will not be able to install the APP you developed, so without further ado, just go to the tutorial.

The first step is to register an account

Two-factor authentication must be activated for Apple ID. If you are a registered individual developer, you can directly download the developer and fill in the information for payment. If you are a company, you need to register for the Dun & Bradstreet code, and then download the developer to fill in the information for payment.

The second step is to create an APP ID

Enter the Apple developer website, click account-Certificates, Identifiers & Profiles, select Identifiers on the left menu, and then click the Add button. Select App IDs and click the Continue button in the upper right corner. If it is a normal application, select App, if it is an App Clip application, select App Clip, and click Continue. If it is an App Clip application, you need to select the package name of the parent application. The package name of the App Clip is composed of the package name of the parent application + your own name, and click Continue. If it is an ordinary application, select Explicit in the Bundle ID, and fill in the package name of your own application. The package name is the unique identifier of the application, which is generally the inversion of the domain name and cannot be duplicated with the existing application package name. If the application needs to use the push function, check the Push Notifications item in the Capabilities list below; if you need to support universal links, check Associated Domains and click Continue. After confirming that the information is correct, click Register to complete the creation.

The third step, p12 certificate production

  1. Have a development account and PC
  2. With the help of the auxiliary tool appuploader

Download Certificate 2

Double-click to open the certificate and install it to the keychain. If the installation prompt pops up, choose to install to "login", find the installed certificate in the keychain, select "login" and "my certificate" on the left, find the certificate, and place it on the certificate Click the right mouse button, then select Export Certificate in the menu, specify the certificate name in the pop-up page, click Save, then enter the certificate password, and click OK to generate a p12 format certificate.

The fourth step, mobileprovision release certificate production

The App Store certificate can only be used to publish applications to the AppStore, and cannot be installed on non-jailbroken devices. Click Profiles on the left menu, then click the Add button. Select App Store and click Continue. Select the App ID created above and click Continue. Select certificates and click Continue. Enter the certificate name and click Generate to complete the creation.

The fifth step, mobileprovision test certificate production

The App Store type mobileprovision certificate generated by a personal or company account can only be installed on a jailbroken device before the application is released to the App Store. If it is to be installed on a non-jailbroken mobile phone, the device udid needs to be added to the test device list Devices. And generate Ad Hoc type mobileprovision certificate.

Obtaining the device udid can be obtained through the old version of iTunes (the latest version cannot be obtained), macOS Catalina and newer systems can be obtained directly through the "Finder", and can also be obtained through some other mobile assistants.

1. In macOS Catalina and updated systems, it can be obtained through the "Finder". Open the "Finder" and connect the device, as shown in the figure, after clicking the area above the line, the serial number and udid information will be displayed, and then click the right mouse button to copy (the copied content includes the serial number, udid, etc., and you need to manually filter the udid) .

2. Get it through the old version of iTunes. Open iTunes, connect the device, as shown in the picture, find the serial number, then click the serial number, the column will change to UDID, click the right mouse button, and copy the UDID.

Select Devices on the left menu and click the Add button. Enter the Name and the obtained UDID, and click Continue. Click Register, and finally click Done to complete adding devices. For personal and company accounts, Ad Hoc certificates can be installed on designated test devices for debugging. Click Profiles on the left menu, then click the Add button. Select Ad Hoc, click Continue to enter the next step. Select the App ID and click Continue to enter the next step. Select certificates, click Continue to enter the next step. Select the device and click Continue. Enter the certificate name and click Generate to complete the creation.

The sixth step, push p12 certificate production

Click on Certificates on the left, then click the Add button. Select Apple Push Notification service SSL (Sandbox & Production), and click Continue to enter the next step. Select the corresponding App ID in the App ID column, and click Continue. Select the previously generated certSigningRequest file and click Continue. Click Download to download the certificate locally, and double-click to install it in the keychain. Find this certificate in the keychain, right-click on the certificate, select Export, save it as a .p12 format file, and enter the certificate password. So far, the creation of the server-side p12 format push certificate is complete

 

Guess you like

Origin blog.csdn.net/chiwang_andy/article/details/131067666