企业应用部署在 iOS 7.1 上不起作用 [英] Enterprise app deployment doesn't work on iOS 7.1

查看:30
本文介绍了企业应用部署在 iOS 7.1 上不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们通过企业帐户使用 itms-services:// URL 分发应用程序.这一直工作正常,但在我们的 iPad 上安装 iOS 7.1 测试版后,它拒绝安装.相反,我们只会收到通用的 Cannot connect to example.com 消息,当下载应用程序出现任何问题时,iOS 无助地显示该消息.

We distribute apps via an Enterprise account, using an itms-services:// URL. This has always worked fine, but after installing the iOS 7.1 beta on our iPad it refuses to install. Instead we just get the generic Cannot connect to example.com message that iOS unhelpfully displays when there is any sort of problem downloading the app.

我在 SO、Google 或 7.1 发行说明中找不到任何内容来建议可能导致问题的原因.

I've been unable to find anything here on SO, on Google or in the 7.1 release notes to suggest what could be causing the problem.

推荐答案

我通过将 iPad 连接到计算机并在尝试安装应用程序时通过 XCode Organizer 查看控制台发现了该问题.结果发现错误是:

I found the issue by connecting the iPad to the computer and viewing the console through the XCode Organizer while trying to install the app. The error turns out to be:

无法加载非 https 清单 URL:http://example.com/manifest.plist

Could not load non-https manifest URL: http://example.com/manifest.plist

事实证明,在 iOS 7.1 中,manifest.plist 文件的 URL 必须是 HTTPS,我们在这里使用的是 HTTP.将 URL 更改为 HTTPS 解决了问题.

Turns out that in iOS 7.1, the URL for the manifest.plist file has to be HTTPS, where we were using HTTP. Changing the URL to HTTPS resolved the problem.

itms-services://?action=download-manifest&url=http://example.com/manifest.plist

变成

itms-services://?action=download-manifest&url=https://example.com/manifest.plist

我假设您必须拥有相关域的有效 SSL 证书.我们已经这样做了,但我想如果没有它,您会遇到问题.

I would assume you have to have a valid SSL certificate for the domain in question. We already did but I'd imagine you'll have issues without it.

这篇关于企业应用部署在 iOS 7.1 上不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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