How to generate hbuilderx cloud package ios certificate

When we hit the official ios package with hbuilderx, we need the private key certificate p12 file and the description file mobileprovision file, but the generation of these two tools requires the use of a mac computer, which is prohibitive for our students who use windows computers.

Fortunately, we have an online tool for generating ios certificates in China. Below, I will introduce how to generate ios certificates:

1. Enter the Apple Developer Center to register as a developer: https://developer.apple.com/ , if you have not opened an Apple developer account, please refer to the following article to open it first:

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

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

https://www.yunedit.com/createcert

3. Click New csr file, after creating it, 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 to create a certificate. When creating a certificate, whether for testing or app store packaging, select ios distribution app store and adhoc instead of apple and development type certificates .

Because ad hoc is a real machine test type, and the app store is a release appstore type. In hbuilderx, cloud packaging uses a release certificate, and real machine testing also belongs to a release certificate.

 

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

6. Go back to the backend of Banana Cloud Editor, upload the cer file you just created, and you can generate the p12 private key certificate:

 

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

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 the same as the package name you filled in when you packaged hbuilderx. If you have already added the appid, skip this step.

 

2. Click on profiles to start creating the profile. During the creation process, we will be asked to select the type of profile. If it is to publish an app store, select the app store. If it is a real machine test, 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 an 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 access this tool with the test device to obtain the udid of the test device:

https://www.yunedit.com/udid

 

 

 

 

Guess you like

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