uniapp-ios packaging steps

Preconditions: have applied for an Apple ID and registered for the Apple Developer Program

1. Log in to the official website of Apple Developers 

Login: https://developer.apple.com/ 

Click Account (Account) to log in, the following page will appear after successful login 

 

2. Create certificates, identifiers, description files, etc. 

Click the Certificate option in Certificates, Identifiers and Description Files to open 

 

1. Configure certificate Certificates

 

 

2. Here you need to upload a CSR file 

 

3. Generate CSR file 

 You can go to this website to generate: https://app.121xuexi.com/ , or other channels to generate CSR files

 

 

 

4. Go to the Apple Developer Center to generate a CER file (to upload the CSR file you just downloaded) 

 

 

5. Generate the private key certificate .p12 file required for uniapp packaging 

You need to upload the CER file you just downloaded 

 

 

6. Add identifier Identifiers 

Bndle ID (Appld) option corresponding to uniapp IOS packaging 

 

 

 

 

 

7. Add the UDID of the Apple phone where the test app is installed 

The ipa file packaged by ios can only be installed on the Apple phones that have been added here, and the iPhone that has not been added here cannot be installed 

 

A UDID will be needed here, we can download Aisi Assistant on the computer 

Aisi Assistant official website: https://www.i4.cn/ 

Then connect the Apple mobile phone to the computer through the data cable, and you can see the UDID of the current mobile phone. 

8. Get the certificate profile file 

 

 

ios App Development cannot be put on the App Store 

Select the Identifiers logo we added 

 

 

Associate the Apple mobile phone UDID device we tested 

 

Set the configuration profile file name, and then generate the profile file 

 

3. Package ipa

Click on the native APP-cloud packaging in the release 

 

Bundle ID: Enter the Bundle ID set above

Certificate private key password: Enter the password set in the above steps

Certificate profile file : Select the downloaded ios certificate (.p12 certificate)

Private key certificate : Select the downloaded .mobileprovision description file

After the packaging is successful, download and save the ipa, and the ipa package can be installed on the previously added mobile phone for testing

Fourth, install ipa 

Download Aisi Assistant on your computer 

Aisi Assistant official website: https://www.i4.cn/ 

Aisi Assistant connects to the Apple mobile phone through the data cable, clicks on the application game, clicks on import and install, selects the newly packaged ipa package, or directly selects the ipa package and right-clicks to install it through Aisi Assistant. 

 

Guess you like

Origin blog.csdn.net/m0_51431448/article/details/131498758