企业应用程序部署在iOS 7.1上不起作用 [英] Enterprise app deployment doesn't work on iOS 7.1
问题描述
我们通过企业帐户分发应用程序,使用 itms-services://
URL。这一直都很好,但是在我们的iPad上安装了iOS 7.1测试版后,它拒绝安装。相反,我们只需获得通用的无法连接到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.
我没有在这里找到任何东西,在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清单网址: 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.
Ie
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屋!