iOS:Over The Air发行版适用于iPad1(iOS 5),但不适用于iPad3(iOS 6)

时间:2012-11-01 18:14:04

标签: ios distribution enterprise over-the-air

我正在尝试为企业内部应用设置空中分配。为了进行测试,我有一台带有iOS 5的iPad 1和一台带有iOS 6的iPad 3.我尝试安装ipa的服务器位于我们公司的网络中,而ipads通过VPN客户端连接到该网络。

使用iPhone配置实用程序安装时,应用程序在两台iPad上运行。但Over The Air安装仅适用于iPad 1.在iPad 3上,点击下载链接时,我收到消息

"Cannot connect to Mysubdomain.myserver.com"

当我从iPad 1下载后检查服务器日志时,我看到了这个日志:

#Software: Microsoft Internet Information Services 7.5
#Version: 1.0
#Date: 2012-11-01 12:59:49
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
2012-11-01 12:59:49 172.16.50.30 GET /sp_for_ipad/download.html - 80 - 172.16.127.177 Mozilla/5.0+(iPad;+CPU+OS+5_0_1+like+Mac+OS+X)+AppleWebKit/534.46+(KHTML,+like+Gecko)+Version/5.1+Mobile/9A405+Safari/7534.48.3 200 0 0 890
2012-11-01 12:59:52 172.16.50.30 GET /sp_for_ipad/manifest.plist - 80 - 172.16.127.177 iTunes-iPad/5.0.1+(32GB) 200 0 0 78
2012-11-01 12:59:55 172.16.50.30 GET /sp_for_ipad/image.57x57.png - 80 - 172.16.127.177 iTunes-iPad/5.0.1+(32GB) 200 0 0 31
2012-11-01 12:59:56 172.16.50.30 HEAD /sp_for_ipad/MyApp.ipa - 80 - 172.16.127.177 iTunes-iPad/5.0.1+(32GB) 200 0 0 109
2012-11-01 12:59:56 172.16.50.30 GET /sp_for_ipad/image.512x512.png - 80 - 172.16.127.177 iTunes-iPad/5.0.1+(32GB) 200 0 0 31
2012-11-01 13:04:45 172.16.50.30 GET /sp_for_ipad/MyApp.ipa - 80 - 172.16.127.177 iTunes-iPad/5.0.1+(32GB) 200 0 0 288293

当我尝试从iPad3下载时,这就是我在服务器日志中看到的全部内容:

#Software: Microsoft Internet Information Services 7.5
#Version: 1.0
#Date: 2012-11-01 12:59:49
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
2012-11-01 13:04:00 172.16.50.30 GET /sp_for_ipad/download.html - 80 - 172.16.127.179 Mozilla/5.0+(iPad;+CPU+OS+6_0+like+Mac+OS+X)+AppleWebKit/536.26+(KHTML,+like+Gecko)+Version/6.0+Mobile/10A403+Safari/8536.25 200 0 0 62

因此,它甚至不查询manifest.plist。

我的download.html看起来像这样:

<html>
<body>
<a href="itms-services://?action=download-manifest&url=http://Mysubdomain.myserver.com/sp_for_ipad/manifest.plist">Install App</a>
</body>
</html>

所以 - 这个链接似乎适用于iPad 1,但不适用于iPad 3.我已经在服务器上正确设置了MIME类型。

奇怪的是 - 我还测试了整个程序与另一台不属于公司VPN的服务器(因此我不使用iPad上的VPN客户端),在这种情况下,安装适用于两台iPad。但现在我不知道 - 服务器可能有一些显着的差异吗?

或问题是否与访问通过VPN的事实有关?

为什么它可以在iPad1上运行而不能在iPad3上运行 - iOS6中有什么不同可能会导致问题吗?

对于iOS6设备,下载链接是否需要有不同的外观?

任何帮助表示赞赏!谢谢!

2 个答案:

答案 0 :(得分:0)

不确定,但您可以尝试删除显示图像和全尺寸图像键。也许这是视网膜图像尺寸的问题。

答案 1 :(得分:0)

我有类似的东西,虽然没有VPN,只是简单的Wi-Fi设置。 所有运行iOS6的iPhone4,iPhone5和iPad2都可以安装OTA而不会出现问题。 与此同时,运行iOS5的iPhone4S和iPad1无法安装应用程序OTA。 通过iTunes同步进行的正常安装适用于所有设备。 这显然是操作系统版本的一个问题,但我不知道下一步该在哪里寻找。 是在应用程序的构建设置中还是与服务器配置相关的内容(在本例中为IIS)...