Steps for packaging ios with uni-app

Note: The following operations must meet three conditions at the same time, and all three conditions are mandatory:
1. Have an Apple developer account (fees will be charged)
2. Have an Apple notebook (generate certificates and files on the notebook)
3 .There is an Apple mobile phone (used to test the function of the app)
using uniapp to release the ios application. The steps are as follows:
Click Release - Native App - Cloud Packaging
insert image description here
.
insert image description here
Function interface

BundleID (AppID), certificate private key password, certificate profile file, and private key certificate are four options, just follow the steps on the official website. As long as you follow this step by step, you must be successful (emphasis!!!)
insert image description here

uni-app packs ios to generate BUndleID, certificate private key password, certificate profile file, and private key certificate as follows:
iBundleID (AppID), certificate private key password, certificate profile file, and private key certificate The steps to obtain the
official website are summarized as follows These steps:

  1. Add a new application identifier in the Identifiers directory (if it is a new project, this step is required. If there is already a project in the production environment, but the certificate has expired and the certificate is renewed, then this step is not necessary) , this step will generate the Bundle of the custom base for app packaging.
  2. Use Keychain to generate a certificate request (.certSigningRequest) file on a Mac.
  3. Upload this (.certSigningRequest) file in the Certifications directory to obtain the private certificate and certificate key password.
  4. Add the Apple device to be adjusted.
  5. Apply for a description file (.mobileprovision) in the Profiles directory

The following are the problems encountered when following the steps on the official website
. When setting the password string, if it prompts that the certificate does not exist or the certificate is not trusted, click the official website address of the certificate below to download the latest certificate.

You only need to download the certificate of the arrow and install it.
insert image description here
The password of the exported .p12 certificate is 123456.aa (set by yourself).
When packaging in HBuildrX, you need to register HBuildrX first, complete the basic information, and bind the mobile phone number.
Please choose traditional packaging. Only a custom base is made here, and there will be the following prompt after making it.
insert image description here
Traditional packaging will not have this problem, so choose traditional packaging.
Note: There is a limit to the number of times of free packaging, about 6 times a day, and the free times are reset at 24:00 every day.
insert image description here
Finally, I want to complain. I have used Windows computers for several years. It's really hard to get started with an Apple computer. I wish heaven didn't set the closing window of the file in the upper left corner. . . . . .

Guess you like

Origin blog.csdn.net/ksjdbdh/article/details/131131919