繁体   English   中英

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

[英]iOS: Over The Air distribution works on iPad1 (iOS 5) but not on iPad3 (iOS 6)

我正在尝试为企业内部应用设置空中分配。 为了测试,我有一台带有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设备,下载链接是否需要有所不同?

任何帮助赞赏! 谢谢!

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

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM