P12 certificate and profile file generation method

When we use the H5 development tool to develop the APP, to compile the ios application, we need the private key certificate in p12 format and the profile file in .mobileprovision format. So how are these two files generated?

Apple officially provides us with a mac computer generation method, but not every student who develops H5 APP has a mac computer. Secondly, it is more troublesome to use a mac computer to generate a certificate, so is it simple and unnecessary? How to generate these two files on a mac computer?

Students who develop H5 now generally use Banana Cloud to help generate certificate files.

The address is as follows: https://www.yunedit.com/createcert

First, we create a new csr file in Banana Cloud, and then we download this file to our local.

Then, go to the Apple Developer Center and click Create a certificate.
If you don’t know the address of Apple Developer Center, you can visit:
https://developer.apple.com/

Must choose ios Distribution (App store and Ad Hoc) this type, remember not to choose apple type.

 

 

Then, in the process of creating the certificate, we will be asked to upload the csr file created in Banana Cloud, which is the file with the suffix certSigningRequest.

 

In this way, we have created a successful cer certificate, click download, you can download the .cer file locally.

 

Then, we upload the cer file to Banana Cloud Editor, and then we can generate a p12 certificate.

 

Next, the way to create a profile file is simpler, just create it directly in the Apple Developer Center.

When you click the plus sign to create, we will be asked to choose a package name, which needs to be created in Identifiers in advance. The App ID in the figure below is the package name that we are required to select during the process of creating the profile file. The package name must be created in advance in the Identifiers menu.

 

Ok, so the number p12 and profile files are created, and they can be packaged.

Guess you like

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