ios packaging certificate application process

In the current APP development, multi-terminal development has become the mainstream, so many APPs are developed using uniapp, and they are all developed using windows computers. However, when packaging an ios application, a p12 format packaging certificate and profile description file are required.

So how to apply for these two documents? In this article, I will teach you how to apply.

First of all, we need an Apple developer account. If you don't have an Apple developer account, you need to apply for it first. If you have never applied before, you can refer to this article to apply for an Apple developer account:

https://blog.csdn.net/h5xiaoyu/article/details/113779923

Then, if you already have an Apple developer account, you can proceed to this step.

Log in to the Apple Developer Center, click the certificates menu below, and click the blue plus sign to create a cer certificate:

 

During the creation process, it will pop up asking to upload a csr file, so how to get this csr file?

Because applying for an Apple certificate requires a Mac computer, and if we use a Windows computer to develop, we need a third-party tool. Now most of them use Banana Cloud Compilation to assist in generating certificates, and use Banana Cloud Compilation to generate csr files. The address of the tool:

地址:https://www.yunedit.com

After entering the console of Banana Cloud, click New csr file to create a csr file, and then download the csr file to the local computer.

 

Then, go back to the Apple Developer Center and upload the csr file you just created to generate the cer certificate. Download the cer certificate.

After the cer certificate is generated, go back to the Banana Cloud Compiler console, upload the cer file, and the p12 packaged certificate can be generated:

 

Well, the above steps can complete the creation of the p12 packaging certificate.

Let's talk about how to create a profile description file.

1. Click the identifiers menu to check whether an appId has been created. If no appId has been created, click the blue plus sign on the right to create an appId. This appId must be the same as the package name used for packaging.

 

2. Click profiles to create a description file. During the process, it will ask us to select the type of description file, just select app store.

 During the process, it will prompt us to select appId and certificate, as shown in the following figure is the interface for selecting appId.

 

3. As of this point, the profile file can be generated and used, but if you don’t want to put it on the shelves so quickly and want to test it on a real device, you can choose the ad hoc format description file in step 2, but the ad hoc format The description file needs to provide the udid of all test mobile phones, you can use the tool to obtain the udid of the mobile phone to obtain the udid of the mobile phone.

Guess you like

Origin blog.csdn.net/weixin_48914851/article/details/128641076