【发布时间】:2015-09-13 20:52:36
【问题描述】:
我为我的组织设置了 OTA,但似乎无法正常工作。这是我所做的:
- 在托管服务器上设置外部认可的 SSL 证书
- 确保服务器上有以下 MIME 类型:
ipa application/octet-stream
plist application/xml
- 将此链接添加到我们的网页:
<a href="itms-services://?action=download-manifest&url=https://***/***/***.plist">Install</a>
- 将 ipa、manifest、57x57 显示图像和 512x512 全尺寸图像分发到服务器。
清单如下所示:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>items</key>
<array>
<dict>
<key>assets</key>
<array>
<dict>
<key>kind</key>
<string>software-package</string>
<key>url</key>
<string>https://***/***/***.ipa</string>
</dict>
<dict>
<key>kind</key>
<string>display-image</string>
<key>need-shine</key>
<false/>
<key>url</key>
<string>https://***/***/***.png</string>
</dict>
<dict>
<key>kind</key>
<string>full-size-image</string>
<key>need-shine</key>
<false/>
<key>url</key>
<string>https://***/***/***.png</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifer</key>
<string>***.***.***</string>
<key>bundle-version</key>
<string>233582</string>
<key>kind</key>
<string>software</string>
<key>title</key>
<string>***</string>
</dict>
</dict>
</array>
</dict>
</plist>
我已验证清单中的网址。他们绝对是正确的。我已将计算机用作手机的代理,单击“安装”链接后,我看到手机正在成功下载清单。但是,手机下载清单后,什么都没有发生——手机没有安装应用程序或在屏幕上显示错误。我也在交易过程中监控了控制台,也没有出现错误。
我完全不知道是什么导致了这里的问题。任何帮助,将不胜感激!提前致谢!
【问题讨论】:
-
我们有完全相同的错误 - 绝对让我头疼。我们已经验证并重新验证了每个步骤/URL。任何建议将不胜感激!