iOS Packaging IPA Tutorial

Reprinted: xcode package export ipa

As we all know, when developing Apple applications, you need to use a signature (certificate) to package and install Apple

IPA, as a student who is new to ios development, is only learning ios app development internal testing, and there is no need to put it on the appstore. For Apple developer account authentication, you need to pay 688, which is really a great waste. To use appuploader, you only need to register Apple ordinary account

No., without 688 certification, you can package the ios application developed by yourself, and test it on your own real machine.

The following is a detailed tutorial:

Step 1: Register an Apple developer account

Visit the following website and follow the prompts to register, because there is no need to pay 688 to authenticate Apple developers, so there is nothing to talk about.

Registered Address: Apple Developer

Step 2: Download APP Uploader

download link:

Appuploader official website – IOS ipa upload release tool, certificate creation tool cross-platform version, windows, linux, mac system all

Available Appupload:  applicationloader.net

Here I am a mac system installed on a VMware virtual machine, so I downloaded the mac installation package, decompressed it directly, and double-clicked appuploader

Start, see the picture below:

The main interface is as follows:

Briefly, how to use this tool:

1. Log in, because you have not paid 688 authentication, so when you log in, pay attention to check the unpaid 688:

2. Function introduction, I mainly use three functional parts of the tool here:

Certificate part: It is mainly to generate the .p12 certificate file through the tool, and the latter certificate will be imported into the mac system.

Description file: This file mainly includes certificates, public keys, device information, etc., and is bound to the app. Test equipment: mainly enter the ios mobile phone to be tested internally, mainly udid, udid can be understood as a unique identification code of the device,

Obtain the udid of the iphone, automatically through the appuploader tool

I don’t use other functional modules here either. You can learn more about them through the help documentation of the tool software. The help documentation also lists common

Problems and solutions: Appuploader FAQ  applicationloader.net

Step 3: Use xcode to package and export the ipa file for internal testing by others

1. The mac system imports the p12 certificate generated by appuploader. The import method is shown in the figure below:

Double-click the downloaded p12 file, the system will prompt you to enter a password, just follow the prompt to enter the password.

2. The key part, xcode uses this p12 certificate to package ipa:

Xcode has added the Apple developer account, the personal p12 certificate is available, and the next step is to package the ios application with xcode:

Remember to uncheck automatically manage signing

There is no problem with xcode compilation, and an interface will pop up

In the Products directory, copy the xxx.app file, create a new Playload folder, compress the Playload folder, and get

Playload.zip file, modify

The Playload.zip file is the Playload.ipa file, so far the ios application installation file is ready.

Guess you like

Origin blog.csdn.net/weixin_46626339/article/details/131601485