ios iOS应用程序部署,而无需AppStore的

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11301361/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-30 19:06:12  来源:igfitidea点击:

iOS App deployment without AppStore

iosdeploymentapp-storemdm

提问by sebastien

I'm developping an App in my company. We want to distribute this App to our customers but without using the AppStore from Apple, is it possible?

我正在我的公司开发一个应用程序。我们想将这个应用程序分发给我们的客户,但不使用 Apple 的 AppStore,这可能吗?

I heard about MDM (mobile device manager) but I'm not really sure if it will cover this need?

我听说过 MDM(移动设备管理器),但我不确定它是否能满足这种需求?

I heard also about Enterprise developer license for in house deployment but if I'm understanding correctly it means the App can be deployed only inside my company and not to our customers, is it correct?

我还听说过内部部署的企业开发人员许可证,但如果我理解正确,这意味着该应用程序只能部署在我的公司内部,而不能部署到我们的客户,对吗?

Thanks for your clarifications.

感谢您的澄清。

Seb

塞伯

采纳答案by Jerry Jones

If you are trying to get apps to customers without the App Store, you have options, but none of them are awesome.

如果您试图在没有 App Store 的情况下向客户提供应用程序,您有多种选择,但它们都不是很棒的选择。

There are many choices for over the air distribution of the binary, that really isn't the complicated part. You've got MDM solutions, HockeyKit, TestFlight, Manual server manipulation - all are fairly easy and well documented.

二进制文件的无线分发有很多选择,这真的不是复杂的部分。您已经获得了 MDM 解决方案、HockeyKit、TestFlight、手动服务器操作——所有这些都相当简单且有据可查。

Where things get nasty is in the signing. If you definitely do not want to participate in the App Store environment (no app store, no Volume Purchase Program), you only have two real options:

事情变得令人讨厌的地方在于签名。如果你绝对不想参与 App Store 环境(没有应用商店,没有批量购买计划),你只有两个真正的选择:

  • Ad Hoc - Limited to 100 Devices. Devices must be explicitly added to a provision.
  • Enterprise - No device limit, devices do not need to explicitly added to provisions. In effect, these builds will run on any device; the caveat, you are not legally allowed to distribute these builds to anyone outside your company.
  • Ad Hoc - 仅限 100 台设备。设备必须明确添加到规定中。
  • 企业 - 没有设备限制,设备不需要明确添加到规定中。实际上,这些构建将在任何设备上运行;需要注意的是,法律不允许您将这些构建分发给您公司以外的任何人。

If you intend on developing an application for some other company and their employees, then your only viable option is to sign the final build with a signing certificate attached to said company's development account. The enterprise signing route is a really great approach, if you can get the company to sign all the paperwork to get their own developer account, owned by them.

如果您打算为其他公司及其员工开发应用程序,那么您唯一可行的选择是使用附加到该公司开发帐户的签名证书对最终版本进行签名。企业签约路线是一个非常好的方法,如果你可以让公司签署所有的文书工作来获得他们自己的开发者账户,归他们所有。

回答by hotpaw2

For stock iOS devices, you really have only 4 choices:

对于库存 iOS 设备,您实际上只有 4 种选择:

1) Ad Hoc distribution to up to 100 total max devices per iOS Developer enrollment (including wireless Ad Hoc via manifest file & SSL.)

1) Ad Hoc 分发到每个 iOS 开发人员注册的最多 100 个最大设备(包括通过清单文件和 SSL 的无线 Ad Hoc。)

2) Enterprise distribution for distribution to employees of corporations with a D&B rating.

2) 分配给 D&B 评级公司员工的企业分配。

3) Apple's iTunes App store if your app is approved by Apple. (This includes the B2B program and account/password protected apps.) (This now also includes up to 1000 people using Apple's new Testflight service.)

3) Apple 的 iTunes 应用商店,如果您的应用已获得 Apple 批准。(这包括 B2B 程序和受帐户/密码保护的应用程序。)(现在还包括多达 1000 人使用 Apple 的新 Testflight 服务。)

4) Unlimiteddistribution to other people who have their own individual, company or enterprise iOS/Apple Developer enrollments. The distribution can be either as an Xcode project with source code or a pre-compiled library, or as an ipa or archive file that the customer can (re)codesign with their own Developer certificates. For applications priced at well over $99 per customer, the cost of this annual developer program enrollment might only be a slight additional cost to the customer (and given appropriate legal authorizations, might even be handled as an annual paid service.)

4)无限分发给拥有自己的个人、公司或企业 iOS/Apple Developer 注册的其他人。分发可以是带有源代码或预编译库的 Xcode 项目,也可以是客户可以(重新)使用他们自己的开发人员证书进行编码的 ipa 或存档文件。对于每位客户定价远高于 99 美元的应用程序,此年度开发人员计划注册费用可能只是客户的一小部分额外费用(如果获得适当的法律授权,甚至可以作为年度付费服务处理。)

4 b.) ADDED UPDATE: As of Apple's release of Xcode 7 (in late 2015), anyone with just a free Apple ID can use Xcode 7 on their Mac to install apps from build-able Xcode projects directly to their own tethered iOS devices this way, with no need to pay $99 to Apple to enroll. See thisanswer.

4 b.) 新增更新:随着 Apple 发布 Xcode 7(2015 年末),任何拥有免费 Apple ID 的人都可以在他们的 Mac 上使用 Xcode 7 将应用程序从可构建的 Xcode 项目直接安装到他们自己的绑定 iOS 设备这样,无需向 Apple 支付 99 美元即可注册。看到这个答案。

This essentially allows unlimited distribution to anyone with physical access to a current Mac and who knows how to run Xcode.

这基本上允许无限制地分发给对当前 Mac 有物理访问权限并且知道如何运行 Xcode 的任何人。

Options (1), (2) and (4) do not require going through App store approval. There are no other options for distributing apps to stock OS iOS devices.

选项(1)、(2)和(4)不需要通过应用商店批准。没有其他选项可以将应用程序分发到库存 OS iOS 设备。

回答by EsbenB

You could take a look at https://testflightapp.com/. We use that a lot for customers that only need a app for testing doing the development phase and for apps that are used for conventions (limited time, limited number of units).

你可以看看https://testflightapp.com/。对于只需要一个应用程序进行开发阶段测试的客户以及用于约定的应用程序(时间有限,单元数量有限),我们经常使用它。

Testflight is very easy to use for both developers and end-users, but it is not very well suited for apps that are going to be used on a large numbers of devices, since all devices that are installed to needs to be in your provisioning profile which has a limited number of slots.

Testflight 对于开发人员和最终用户来说都非常易于使用,但它不太适合将在大量设备上使用的应用程序,因为安装的所有设备都需要在您的配置文件中它的插槽数量有限。

EDITThe testfligt approch is no longer valid. You can now use the TestFlight integrated into itunesconnect. Alternatively you could integrate crashlytics.com, at use their distribution system. It works pretty weill

编辑testfligt 方法不再有效。您现在可以使用集成到 itunesconnect 中的 TestFlight。或者,您可以在使用他们的分发系统时集成crashlytics.com。它工作得很好