临时部署 [英] Ad-hoc Deployment

查看:20
本文介绍了临时部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用 Apple Ad-Hoc 部署将应用部署到 20 台 iOS 设备(iPhone 和 iPad).我需要从特定计算机推出应用程序.我将使用的某些设备可能已经同步到计算机.

我猜,一旦我将这些设备同步到我将用来部署应用程序的计算机,之前已同步到计算机的每台设备上的内容都将被擦除.那是对的吗?有办法解决吗?

解决方案

如果您不想使用 testflight,这里是另一种无线解决方案:

  1. 在您的 xcode 项目中,转到 Product >存档

  2. 在操作完成后出现的xcode管理器窗口中点击Distribute

  3. 点击Save for Enterprise or Ad Hoc Deployment并选择下一步

  4. 选择您的临时配置文件(在 developer.apple.com 的会员中心创建.确保该文件中包含所有 20 个设备 uuid.

  5. 点击导出

  6. 保存.确保点击保存用于企业分发复选框并填写所需信息.应用程序 URL 将以 http://或 https://开头的 URL 将转到您的文件(请参阅下一步)

  7. 这将保存两个文件 yourFilename.ipayourFileName.plist.将这些文件复制到您的网络服务器.

  8. 现在是魔法.您需要使用 URL itms-services://?action=download-manifest&url=http://yourwebserver.com/path/to/yourFileName.plist

  9. 假设您的所有链接都有效并且您的配置文件正确无误,该应用应该会开始安装在任何点击该链接的已注册设备上.

如果您不想通过无线方式下载,您可以将第 6 步中生成的 .ipa 文件分发给您的 20 个人(他们的设备仍然必须在配置文件中注册).他们可以在 iTunes 中打开该文件,然后将您的应用与他们的设备同步.

通过无线方式或通过与 iTunes 同步安装应用程序不会擦除任何设备的内容.

I would like to deploy an app to 20 iOS devices (iPhones and iPads) using Apple Ad-Hoc Deployment. I need to push out the application from a particular computer. Some of the devices that I will be using might have already been synced to computers.

I'm guessing that once I sync these devices to the computer I'll be using to deploy the app from, the content on each device that has previously been synced to a computer will be wiped. Is that correct? Is there a way around that?

解决方案

If you don't want to use testflight, here is another over-the-air solution:

  1. In your xcode project go to Product > Archive

  2. Click Distribute in the xcode organizer window that appears when the operation is complete

  3. Click Save for Enterprise or Ad Hoc Deployment and choose next

  4. Choose your ad hoc provisioning profile (created in the member center at developer.apple.com. Make sure it has all 20 device uuids included on the profile.

  5. Click Export

  6. Save it. Make sure to click on the Save for enterprise distribution checkbox and fill out the required info. Application URL will be the URL starting with http:// or https:// that will go to your files (see next step)

  7. This will save two files yourFilename.ipa and yourFileName.plist. Copy these files to your webserver.

  8. Now for the magic. You need to make a link somewhere with the URL itms-services://?action=download-manifest&url=http://yourwebserver.com/path/to/yourFileName.plist

  9. Assuming all your links work and your provisioning profiles are correct, the app should start installing on any registered device that clicks on that link.

If you don't want over the air downloads, you can distribute that .ipa file that was generated in step 6 to your 20 people (their devices must be registered on the provisioning profile still). They can open that file in iTunes and then sync your app with their devices.

Installation of an application over the air or by syncing with iTunes will not wipe the content of any devices.

这篇关于临时部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆