The easiest way to generate ios certificate

When we use H5 framework such as hbuilder to develop app, we need ios certificate to compile app project into ipa file.

However, the official method of generating ios certificate provided by Apple can only use a mac computer. If we don't have a mac computer, it is very inconvenient to generate a certificate.

We can use Banana Cloud to help us generate ios certificates online, let me describe the generation process.

1. Log in to the Banana Cloud Editor website and click New csr file.

https://www.yunedit.com/createcert

 

 

2. Download the created csr file to your computer, and then use the browser to visit the Apple Developer Center website.

https://developer.apple.com/

Click this place to create a cer certificate:

 

3. One thing to note is that we are creating a packaging certificate, so we can only choose the ios distribution type, not the ios Development type, and the apple type. In this way, we can generate a cer certificate. Then download the generated cer file to our computer.

 

4. Since hbuilder and apicloud cannot directly use cer files to package ipa, we need to go back to banana cloud editor to convert cer files into p12 files.

5. We also need a profile (description file) for packaging. In this step, you can generate it in the Apple Developer Center. Note that when creating a profile, you need to select a profile of adhoc or app store type. adhoc is the real machine test type,

adhoc is the real machine test type, and the app store is the release version. If you create an ad hoc certificate, you also need to add the udid of the test device in the devices menu.

To get the udid of the test device, you can use the udid compiled by Banana Cloud to get the link, and follow the method in the link to get the udid.

https://www.yunedit.com/udid

Of course, the test has nothing to do with the creation of a certificate. If you don't need a real machine to test, but only need to create a certificate, you can ignore the step of obtaining udid, and beginners can ignore this step first.

 

 

 

Guess you like

Origin blog.csdn.net/handsome0916/article/details/112188393