There are two cases which you want to distribute your applications outside the App Store:
The differences between Apple Developer and Apple Developer Enterprise programs regarding apps distribution:
| Apple Developer Program | Apple Developer Enterprise Program | |
|---|---|---|
| Beta OS Releases | Yes | Yes |
| Ad Hoc Distribution | Yes | Yes |
| App Store Distribution | Yes | No |
| In-house Distribution | No | Yes |
| TestFlight Beta Testing | Yes | No |
| Team Management | No | Yes |
| App Analytics | Yes | No |
For more information about the differences between the two programs, please refer to Choosing a Membership.
There are two ways to distribute your pre-release apps for testing:
In-house distribution is to securely distribute your iOS apps to your employees. In other words, you can distribute your app to any company devices. However, if you want someone outside of your company to test your app or restrict distribution to specific devices, you can use Ad Hoc distribution.
Ad Hoc distribution is to distribute your apps using Ad Hoc provisioning profile to registered devices up to 100.
Both types of distribution have the same ways for app installation. The difference is the provisioning profile.
There are several ways you can install your applications outside the App Store as shown in the following sections.
Apple Configurator 2 on your Mac from the App Store.Apple Configurator 2, select your device. If you device doesn’t appear here, please make sure that your device is successfully connected to your Mac.
Click on Add button and select App option.
Select Choose from my Mac button and browse the .ipa file. Then, the app will be installed on your device.
You can install your iOS app (.ipa file) via Xcode as follows:
.ipa file into the Installed Apps as shown below:
.ipa file after the build completes.App library..ipa file into the App library.
OTA (Over-The-Air) Deployment enables you to install your built apps (ad-hoc build) via HTTPS.
.ipa file after the build completes..ipa file to the site you want.Create a .plist file for this built application. The .plist file should look like this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>items</key>
<array>
<dict>
<key>assets</key>
<array>
<dict>
<key>kind</key>
<string>software-package</string>
<key>url</key>
<string>https://www.anysite.com/application/your_app.ipa</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>com.example.helloworld</string>
<key>bundle-version</key>
<string>1.0.0</string>
<key>kind</key>
<string>software</string>
<key>title</key>
<string>HELLO</string>
</dict>
</dict>
</array>
</dict>
</plist>
.plist file, please pay attention to these points:
.plist file must be accessed via https protocol..ipa file.Upload the .plist file to the site you want. Make sure this file
must be accessed via HTTPS protocol.
Create a webpage embedded the link to the uploaded .plist file
using special itms-services:// protocol. See blow example:
<a href="itms-services://?action=download-manifest&
url=https://www.anysite.com/application/your_app.plist">
Download
</a>
After you get the link, use your device to access the link. Then, you will be prompted to install the application. See below example:
There are two cases which you want to distribute your applications outside the offical markets such as Google Play Store, Amazon AppStore and so on:
ADB (Android Debug Bridge) is a tool enabling you to use various terminal commands to your phone.
Prerequisite:
In order to install your built app via ADB command:
.apk file after the build completes.Run below command on your computer in command window. Make sure to
use the correct path to your .apk file.
adb install foo.apkThis is simply an installation through direct link to your .apk file:
.apk file after the build completes.See Also: