How to apply for uniapp certificate on windows computer

uniapp, packaging ios application requires ios certificate. There is an application tutorial on the uniapp official website, but the tutorials all use the Apple mac system to apply for a certificate. If there is no mac system, you cannot use the tutorial on the official website to apply for a certificate.

In fact, you can also apply for an ios certificate using a windows computer, and you don’t need to spend more than 10,000 yuan to buy a mac computer to apply. Below I have compiled a tutorial for using a windows computer to apply for an ios certificate.

If you do not have an Apple developer account yet, you need to apply for an Apple developer account first. You can refer to the following tutorial to apply for an Apple developer account:

https://blog.csdn.net/handsome0916/article/details/130267123

After you have an Apple developer account, you can apply for a certificate through the following steps:

1. The application process of the private key certificate in p12 format:

1.1. Enter the Apple Developer Center, log in to the background, click the Certificates module, and click the small blue plus sign to start creating a cer certificate.

 1.2. The first step of creating a cer certificate is to select the type of certificate. Here we choose the ios distribution ad hoc and app store type, and be careful not to choose the apple and dev types.

1.3. During the creation process, it will ask us to upload a csr file:

 1.4. Since we were required to provide a csr file in the previous step, if we don’t have a mac computer, we can create this csr file with the help of Banana Cloud Editor:

https://www.yunedit.com/createcert

Enter the interface for creating an ios certificate in Banana Cloud, and create a csr file:

 After creating the csr file, download the csr file to your local computer.

1.5. Go back to the Apple Developer Center, continue the previous steps, upload the csr file to generate the cer certificate, and then download the cer certificate to your local computer.

1.6. Go back to Banana Cloud Compilation, upload the cer file you just generated in the Apple Developer Center, and then use the tool for generating p12 certificates to generate p12 certificates. As shown below:

Well, the p12 private key certificate can be generated through the above steps. Here are the steps to create a certificate profile:

2. Steps to create a certificate profile file:

2.1. Click Identifiers to create appId. Identifier is actually the meaning of appId, which is the package name you filled in when packaging uniapp. The format is, for example: com.aaaaa.bbbb. If the appId has already been created, this step can be skipped.

 

2.2. Click profiles to start creating profile (description file):

2.3. The first step of creating a description file, it will ask us to choose the type of profile, here we choose the simplest type of app store format to create. During the creation process, it will also ask us to choose the appId and cer certificates created earlier. If you have multiple appIds and multiple cer certificates, don't choose the wrong one.

Well, the profile that generates the app store type has been created. If you still need to create a profile for real-device testing, see the following two steps:

2.4. Click Devices to add a device. Adding a device here means adding a test device (iphone). When adding, you need to provide the udid of the iphone. You can use the tool on the upper toolbar of Banana Cloud to scan the code to get the udid of the iphone :

 

2.5. In step 2.2, when selecting the profile type, select the ad hoc type, which is the real device test type. If you choose the ad hoc type, it will need to select the devices we created in step 2.4, because ad hoc must be a specified device to install, and the packaged ipa cannot be installed on a device that has not added udid to devices. 

If it is an ad hoc type, after packaging the ipa file, upload the ipa file to the internal test of the application compiled by Banana Cloud, and the tester can scan the code to install it. If it is an ipa file packaged by the app store type, it cannot be installed and tested directly. It must be put on the app store and installed through the app store.

Guess you like

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