ios IOS企业通过OTA分发

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8439127/
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 15:48:49  来源:igfitidea点击:

IOS Enterprise Distribution Through OTA

iosenterpriseota

提问by Suresh Kumar Narayanasamy

We have build an enterprise iPad App and now we want to give it to our employees. Initially when testing, we used ad-hoc distribution collecting all the test device's UDID and then creating the profile.

我们已经构建了一个企业 iPad 应用程序,现在我们想把它提供给我们的员工。最初在测试时,我们使用临时分发收集所有测试设备的 UDID,然后创建配置文件。

Now going live we want this app to be deployed in a secured web server and send the link to our employees, so that they enter the username and password before accessing the link.

现在上线,我们希望将此应用程序部署在安全的 Web 服务器中,并将链接发送给我们的员工,以便他们在访问链接之前输入用户名和密码。

There are around 500+ devices we need to install this iPad App. Do i need to collect all the UDID and then deploy the .ipafile, because Apple documentation says:

我们需要大约 500 多台设备来安装这个 iPad 应用程序。我是否需要收集所有 UDID 然后部署.ipa文件,因为 Apple 文档说:

Create an enterprise distribution provisioning profile that authorizes devices to use apps you've signed.

创建企业分发配置文件,授权设备使用您已签名的应用程序。

If not that way, do the user needs to install the profile.mobileprovisionfile and then install the .ipafile?

如果不是这样,用户是否需要安装profile.mobileprovision文件然后安装.ipa文件?

We are still unable to decide how to deploy our app because of this issue. We would like to avoid the app approval process because it App handles a lot of sensitive data.

由于这个问题,我们仍然无法决定如何部署我们的应用程序。我们希望避免应用程序批准过程,因为它应用程序处理大量敏感数据。

Can some one help me on this, how to do a OTA deployment for enterprise Apps?

有人可以帮助我吗,如何为企业应用程序进行 OTA 部署?

回答by tiltem

As of December 2011, these are the steps:

截至 2011 年 12 月,这些步骤如下:

  1. Create a provisioning profile in your Apple Enterprise account
  2. Set this as the Code Signing Identity under the Build setting of your app.
  3. Make sure the Bundle ID matches that of the provisioning profile.
  4. Select Product > Archive to build IPA file.
  5. Click Share (aka Distribute) button after selecting your Archive.
  6. Set Contents radio button to iOS App Store Package (.ipa)
  7. Make sure Identity in dropdown is the one used from Enterprise account.
  8. Click Next
  9. Select the check box "Save for Enterprise Distribution"
  10. For Application URL put in the URL that points to where the ipa file will be placed (example: http://oursite.com/myApp.ipa)
  11. Click Save. This will save a plist & an ipa file for you.
  12. Place these files on your server with a link formated like this:
    <a href="itms-services://?action=download-manifest&url=itms-services://?action=download-manifest&url=http:/oursite.com/myApp.plist" id="text">
  13. Go to this page from your device and click the link to install the app
  1. 在您的 Apple Enterprise 帐户中创建配置文件
  2. 将此设置为应用程序构建设置下的代码签名标识。
  3. 确保捆绑 ID 与配置文件的捆绑 ID 匹配。
  4. 选择产品 > 存档以构建 IPA 文件。
  5. 选择您的档案后,单击共享(又名分发)按钮。
  6. 将 Contents 单选按钮设置为 iOS App Store Package (.ipa)
  7. 确保下拉列表中的身份是企业帐户中使用的身份。
  8. 点击下一步
  9. 选中复选框“保存用于企业分发”
  10. 对于应用程序URL放在URL,它指向哪里IPA文件将被放置(例如:http://oursite.com/myApp.ipa
  11. 单击保存。这将为您保存一个 plist 和一个 ipa 文件。
  12. 使用格式如下的链接将这些文件放在您的服务器上:
    <a href="itms-services://?action=download-manifest&url=itms-services://?action=download-manifest&url=http:/oursite.com/myApp.plist" id="text">
  13. 从您的设备转到此页面,然后单击链接以安装该应用程序

回答by palaniraja

There are two solutions

有两种解决方案

  1. Try testflightapp.com

    It does everything for you. It even has a SDK which I found very useful in debugging scenarios with logs and crash reports.

  2. If you are looking to have your own hosted solution for the enterprise then http://hockeykit.net/is the best bet.

    It has a client application which makes the upgrade process painless. It also have a server side code which you can deploy on your server.

    https://github.com/TheRealKerni/HockeyKit

  1. 试试testflightapp.com

    它为你做一切。它甚至还有一个 SDK,我发现它在带有日志和崩溃报告的调试场景中非常有用。

  2. 如果您希望为企业拥有自己的托管解决方案,那么 http://hockeykit.net/是最好的选择。

    它有一个客户端应用程序,可以让升级过程变得轻松。它还有一个服务器端代码,您可以将其部署在您的服务器上。

    https://github.com/TheRealKerni/HockeyKit



  1. Update 2013-11-23:

    We have been using Diawihappily for quite some time.

  1. 2013-11-23 更新:

    我们高兴地使用Diawi已经有一段时间了。

回答by Tony O'Hagan

Probably the best way to distribute your enterprise mobile app and then securely manage users, groups, data and devices is using a Mobile Device Manager (MDM) tool suite.

分发企业移动应用程序然后安全地管理用户、组、数据和设备的最佳方式可能是使用移动设备管理器 (MDM) 工具套件。

iOS provides specific APIs that support enterprise deployment via MDM products with API level features like Per App VPN connections that allow you to firewall a DMZ application server to only connect to a specific signed client iOS app. The vendors also provided authentication SSO integration and encrypted storage on the devices to sandbox your enterprise apps from other untrusted personal apps on a BYOD device.

iOS 提供了特定 API,这些 API 支持通过 MDM 产品进行企业部署,其中包含 API 级别的功能,例如 Per App VPN 连接,允许您将 DMZ 应用程序服务器设置为防火墙以仅连接到特定签名的客户端 iOS 应用程序。供应商还在设备上提供身份验证 SSO 集成和加密存储,以将您的企业应用与 BYOD 设备上的其他不受信任的个人应用进行沙箱处理。

Here's the Gartner 2013 review of MDM products:

以下是 Gartner 2013 年对 MDM 产品的评论:

The 3 major players are now: Air Watch, Mobile Ironand Citrix XenMobile.

现在的 3 个主要参与者是:Air WatchMobile IronCitrix XenMobile

NOTE: I don't work for or have a vested interest in any MDM vendor.

注意:我不为任何 MDM 供应商工作,也不与任何 MDM 供应商有既得利益。

回答by Sveinung Kval Bakken

You can also use my shell script that will help you a long way with generating the necessary files and links:

您还可以使用我的 shell 脚本,它可以帮助您生成必要的文件和链接:

https://github.com/sveinungkb/ios-ota-buddy

https://github.com/sveinungkb/ios-ota-buddy

回答by railwayparade

You do not need to manage UDIDs if you are using an enterprise profile.

如果您使用的是企业配置文件,则不需要管理 UDID。

To install an enterprise app you need a provisioning profile built with your distribution certificate on each device. See Does an iPhone Enterprise provisioning profile need to specify phone UUIDs like an ad-hoc provisioning profile does?

要安装企业应用程序,您需要在每台设备上使用分发证书构建配置文件。请参阅iPhone 企业配置文件是否需要像临时配置文件那样指定电话 UUID?

回答by JakubKnejzlik

I've created tool (it's beta, so please be patient with it:)) for generating manifests from ipa file online:

我已经创建了用于从 ipa 文件在线生成清单的工具(它是测试版,所以请耐心等待:)):

http://manifest-generator.knejzlik.cz/

http://manifest-generator.knejzlik.cz/

It generates plist with index.html file. All you need is to put content of downloaded archive to your site.

它生成带有 index.html 文件的 plist。您所需要的只是将下载的存档内容放到您的网站上。

回答by Trickycm

You can use InstallFish.com for this.

为此,您可以使用 InstallFish.com。

It allows OTA distribution for both IOS and Android. It also has a feature to automatically get the UDID and create your own appstores.

它允许 IOS 和 Android 的 OTA 分发。它还具有自动获取 UDID 并创建您自己的应用程序商店的功能。

You will still need to provision them via your enterprise account but it makes the whole process of OTA installs much easier, especially for enterprise distributions.

您仍然需要通过您的企业帐户来配置它们,但这使得 OTA 安装的整个过程变得更加容易,尤其是对于企业发行版。

回答by Leszek Szary

You can use hockey, diawi etc. but sometimes you just want something simple that allows you to host it on your server. I was searching for a simple, basic php script that can do this but did not found any that suited my needs so I wrote a simple single php file server by myself and you can find it here:

您可以使用曲棍球、diawi 等,但有时您只想要一些简单的东西,可以让您将其托管在您的服务器上。我正在寻找一个简单的、基本的 php 脚本,可以做到这一点,但没有找到任何适合我的需要,所以我自己写了一个简单的单个 php 文件服务器,你可以在这里找到它:

https://github.com/leszek-s/LSIPASERVER

https://github.com/leszek-s/LSIPASERVER

It has a list of all uploaded ipa files, upload page with password protected upload and each uploaded ipa has it's own page so you can send a link to specific uploaded ipa to someone. Feel free to use it on your own server.

它有一个所有上传的 ipa 文件的列表、带有密码保护上传的上传页面,每个上传的 ipa 都有自己的页面,因此您可以将特定上传的 ipa 的链接发送给某人。随意在您自己的服务器上使用它。