【问题标题】:iOS: Over The Air distribution works on iPad1 (iOS 5) but not on iPad3 (iOS 6)iOS:Over The Air 分发适用于 iPad 1 (iOS 5),但不适用于 iPad 3 (iOS 6)
【发布时间】:2012-10-22 09:30:08
【问题描述】:

我正在尝试为企业内部应用设置无线分发。为了测试,我有一台装有 iOS 5 的 iPad 1 和一台装有 iOS 6 的 iPad 3。我尝试安装 ipa 的服务器位于我们公司的网络内,ipad 使用 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里面吗?它是否也适用于 iPad1 但不适用于 iPad3?或者它在 iOS 5 上对你有用,但在 iOS 6 上不行?
  • 我不在 VPN 中,但我在 iOS 5 中遇到了同样的问题,但在 iOS 6 中却没有。

标签: ios distribution enterprise over-the-air


【解决方案1】:

不确定,但您可以尝试消除 display-image 和 full-size-image 键。可能是视网膜图像大小的问题。

【讨论】:

    【解决方案2】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-02-05
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多