HBuilder cloud packaging ios certificate application process

When we build the official iOS package in hbuilderx, we need the private key certificate p12 file and the description file mobileprovision file. However, generating these two tools requires the use of a Mac computer, which is prohibitive for our students who use Windows computers.

Fortunately, we in China have online tools to generate iOS certificates. Here I will introduce how to generate iOS certificates:

1. Register as a developer in the Apple Developer Center: https://developer.apple.com/, you need to activate it first.

2. Log in to Banana Cloud Editor and prepare to use Banana Cloud Editor’s online certificate generation function:

https://www.yunedit.com/createcert

3. Click to create a new csr file. After creation, save the csr file to your local computer:

4. Log in to the Apple Developer Center, click on certificates, click on the small blue plus sign, and create a certificate. When creating a certificate, whether testing or app store packaging, you must select ios distribution app store and adhoc. Do not select apple and development type certificates. .

Because ad hoc is a real device testing type, and app store is a publishing app store type. In hbuilderx, cloud packaging uses a publishing certificate, and real device testing also belongs to the publishing certificate.

 

5. During the creation process, we will be asked to upload the csr file just created in Banana Cloud Editor. Upload the csr file just now to generate a cer certificate, and then download the cer certificate file to your local:

 

6. Return to the Banana Cloud Editor backend and upload the cer file you just created to generate the p12 private key certificate:

 

At this point, the p12 certificate has been created successfully.


Next, let’s talk about how to create the description file mobileprovision file:

1. Log in to the Apple Developer Center, click Identifiers, and add appid. This appid must be consistent with the package name you filled in when packaging hbuilderx. If the appid has already been added, skip this step.

 

2. Click on profiles to start creating the description file. During the creation process, we will be asked to select the type of description file. If it is to publish the app store, select the app store. If it is to test on a real machine, select the ad hoc type.

 

3. During the process, we will be asked to select the appid. Just select the appid created in the first step.

 

4. If the type of description file you choose is ad hoc real machine test type, we will also be asked to fill in the udid of the ios test device during the creation process. You can use the test device to access this tool and obtain the udid of the test device:

https://www.yunedit.com/udid
 

Guess you like

Origin blog.csdn.net/h5xiaoyu/article/details/115005663
Recommended