Build iOS IPA File

Prepare knowledge

IPA file is the iOS application installation package file which the extension is .ipa. Whether you can correctly package IPA files, is the key to determining whether an IPA file can be properly installed after being uploaded to the Pgyer. Here's how to properly package an iOS app's IPA file.

The IPA file that is applied can be generated in two ways:

  1. Use the command line `` `xcodebuild exportArchive -exportFormat ipa``` to complete
  2. Package with Xcode

In view of the second way is simple and fast and also most users are used, so here mainly describes the second ways.

Package the IPA file using Xcode

First, the target machine will be compiled into "iOS Device"in Xcode, then click "Product" -> "Archive", as shown:


After Archive is successful, you can see the corresponding file in Xcode Organizer.

Next, click on the "Export" button in Organizer, as shown below:

Export IPA

In the next pop-up interface need to select the certificate type, such as following:

  • If you are using an individual or company Apple Developer Account ($ 99), please select “Save for Ad Hoc Deployment”
  • If you are using an enterprise Apple Developer account ($ 299), please select “Save for Enterprise Deployment”

As shown below:

Export type

Notice:Please do not select “Save for iOS App Store Deployment”,otherwise you will not be able to install through the Pgyer.

After selecting Next, Xcode will automatically attach the test device's signature information and export the corresponding IPA file.

For a description of the Apple Developer account, please read: iOS Application Certificate Selection