为什么我会提示“无法下载”无线 iOS 应用程序分发结束时?
我正在为 iPhone 和 iPad 开发 iOS 应用程序。它在模拟器和实际设备上运行良好。使用 iTunes 和 iPhone 配置实用程序安装时不会出现错误。然而,我似乎无法让无线分布正常工作。
健全性检查:
- 我拥有 Apple 开发人员许可证。
- 我拥有来自 Provisioning Portal 的有效开发人员证书。
- 我已在配置门户中添加了设备的 UDID。
- 我已在配置门户中创建了有效的 AppID。
- 我创建了一个分发配置文件。 开发者配置文件似乎不适用于此。
- 我已单击正确的上述设备以针对给定的配置文件激活。
- 我已下载并安装了证书和配置文件。
- 发布版本可与 iTunes 和 iPhone 配置实用程序完美安装。
- 对于无线分发,我遵循 Apple 的说明:我设置了正确的 .ipa、.mobileprovision 和 .plist 文件,并将其托管在 LAMP Web 服务器上(按照 Apple 的说明添加了正确的 MIME 类型)。
- .plist 文件格式正确。
- .mobileprovision 和 .plist 文件的 URL 是正确的。
- .mobileprovision 文件可通过 iOS 设备的 Safari 浏览器正确下载并安装。
- iOS 设备的 Safari 浏览器正确处理 .plist 文件,找到 .ipa 文件,并提示安装并显示消息“[我的域名]想要安装‘[我的应用程序名称]’”。我单击“安装”软按钮。
- 安装从典型的灰色版本的应用程序图标和从左到右的蓝色进度条开始。图标的文字最初是“正在加载”,然后变为“正在安装”。 “安装”几秒钟后,会显示一条警告:“无法下载‘[我的应用程序名称]’”。系统会提示我“完成”和“重试”软按钮。 “重试”当然只是重复该过程并再次失败。 “完成”退出安装,片刻之后,应用程序图标消失。
需要明确的是,这可以通过 iTunes 和 iPhone 配置实用程序完美安装。我读过无数关于如何实现这一点的博客和文章,但似乎没有人有明确的答案。有谁能想到这里出了什么问题吗???提前致谢。拉我的头发。
I'm developing an iOS app for iPhone and iPad. It runs great on the simulators and actual devices. It installs without error using both iTunes and the iPhone Configuration Utility. I cannot, however, seem to get wireless distribution to work properly.
Sanity checks:
- I have an Apple developer license.
- I have a valid developer certificate from the Provisioning Portal.
- I have added my device's UDID in the Provisioning Portal.
- I have created a valid AppID in the Provisioning Portal.
- I have created a distribution provisioning profile. Developer profiles don't seem to work for this.
- I have clicked the proper aforementioned device to be active for the given provisioning profile.
- I have downloaded and installed the certificate and provisioning profile.
- A release build installs perfectly with both iTunes and the iPhone Configuration Utility.
- For wireless distribution, I have followed Apple's instructions: I have proper .ipa, .mobileprovision, and .plist files setup and hosted on a LAMP web server (with the proper MIME types added per Apple's instructions).
- The .plist file is properly formatted.
- The URLs to the .mobileprovision and .plist files are correct.
- The .mobileprovision file downloads and installs properly via an iOS device's Safari browser.
- The iOS device's Safari browser properly processes the .plist file, finds the .ipa file, and prompts for install with a message "[my domain name] would like to install '[my app name]'". I click the "Install" soft button.
- Installation commences with the typical grayed version of the application icon and blue progress bar that proceeds from left to right. The icon's text is at first "Loading", and then changes to "Installing". After several seconds of "Installing", an alert is displayed: "Unable to download '[my app name]'". I am prompted with "Done" and "Retry" soft buttons. "Retry" of course just repeats the process and fails again. "Done" exits installation, and after a moment, the app icon disappears.
Just to be clear, this installs PERFECTLY via iTunes and the iPhone Configuration Utility. I have read countless blogs and articles on how to get this working, but no one seems to have definitive answers. Is there ANYONE that can think of what is going wrong here??? Thanks in advance. Pulling my hair out.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
NovaJoe——我非常不愿意查看您的链接,因为它似乎显示您需要企业开发人员许可证......
但是,事实并非如此!我能够通过完成以下操作成功部署:
共享...
您现在将拥有一个可以使用的 .ipa 文件,但为了注册远程安装,您仍然需要为启动进程而生成的 plist 文件(并指向新的 .ipa)。
总结一下 - 遵循企业流程,然后将生成的企业 .ipa 替换为非企业 .ipa
NovaJoe -- I was pretty discouraged to review your link as it does appear to read that you need Enterprise Developer license...
But, this is not the case! I was able to successfully deploy by completing the following:
Share...
You now will have an .ipa file that will work, but in order for the remote-install to register, you will still need the plist file that is generated (and pointed to the new .ipa) for the process to initiate.
So to summarize -- follow enterprise process, then replace generated enterprise .ipa with non-enterprise .ipa
我认为这最终只是一个配置文件问题。从来没有真正深入到确切问题的根源,但我发现了一个很棒的工具,它使整个过程对我来说超级简单:测试版生成器
I think it wound up just being a provisioning profile issue. Never REALLY got to the bottom of the exact issue, but I found a great tool that makes the whole process SUPER easy for me: Beta Builder