iOS App Distribution
iOS App 有不少分发方法,她们散落在 Apple 的文档中,并未归总到一处,所以本文对她们进行了总结,方便查阅。
首先我们简单梳理下这些分发方法,然后重点说明下 ipa 文件的安装方法。 Apple 制作的这张表格将分发方法归纳得很全:
Method | Description |
---|---|
App Store | Distributes your app through the App Store, signed with an Apple Developer Program distribution provisioning profile. |
Ad Hoc | Distributes your app to testers with registered devices, signed with an ad hoc provisioning profile. The devices need to be registered in your developer account and are limited to 100 devices per product family per year. If you don’t want to use a portion of these development devices for testing, distribute your app using TestFlight instead. If you are a member of the Apple Developer Enterprise Program, choose this option to test your app. Only members of the Apple Developer Program have access to App Store Connect and TestFlight. |
Development | Distributes your app to testers with registered devices, signed with a development provisioning profile. |
Enterprise | Distributes your app to users in your organization, signed with an Apple Developer Enterprise Program distribution provisioning profile. |
虽然分发方法有很多,但可以分为两类:一类是通过 App Store 分发;另一类则是在 App Store 外分发。通过 App Store 分发时的流程很统一,都是上传应用到 iTunes Connection,等待审核发布,所以没有什么好说的。但是在 App Store 外发布时选择就多样了,我们既可以走像 App Store 分发那样流程的 TestFlight,也可以导出 ipa 文件然后安装。
下面我们介绍在 iPhone 上安装 ipa 的方法:
Install using iTunes
iTunes 12.7 for Mac was released on Tuesday with a major change in the app. Apple has redesign iTunes so that it focuses on sales of music, movies, TV shows, audiobooks, and podcasts. It no longer has an App Store for buying apps for your iPhone or iPad. Therefore, you can no long install your iOS App (.ipa file) through iTunes any longer.
- Download the .ipa file after the build completes.
- Open iTunes, go to App library.
- Drag and drop the downloaded .ipa file into the App library.
- Connect your device to iTunes and go to your device apps.
- Click Install button of the app and click Sync button.