iOS OTA 不工作

iOS OTA Not Working

我已经为我的组织设置了 OTA,但似乎无法正常运行。这是我所做的:

  1. 在托管服务器上设置外部认可的 SSL 证书
  2. 确保服务器上有以下 MIME 类型:

ipa application/octet-stream

plist application/xml

  1. 将此 link 添加到我们的网页:

<a href="itms-services://?action=download-manifest&url=https://***/***/***.plist">Install</a>

  1. 已将 ipa、清单、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。他们绝对是正确的。我已将我的计算机用作我的 phone 的代理,我看到我的 phone 在单击安装 link 后成功下载清单。然而,在 phone 下载清单后,没有任何反应 - phone 没有安装应用程序或在屏幕上显示错误。我也在交易过程中监控了控制台,那里也没有出现错误。

对于可能导致此问题的原因,我完全不知所措。任何帮助,将不胜感激!提前致谢!

我将 need-shine 更改为 needs-shine 并将 bundle-identifer 更改为 bundle-identifier 并解决了问题。如果控制台会针对清单中的无效字段给出错误,那就太好了,但不幸的是它没有。