远程安装应用程序失败,12024

时间:2014-10-14 07:41:23

标签: ios mdm

我正在使用MDM服务器将应用程序安装到受管设备。服务器发送给设备的命令如下:

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>CommandUUID</key>
    <string>14b4bf63-f259-4e10-b2f3-109f9ad377bf</string>
    <key>Command</key>
    <dict>
      <key>RequestType</key>
      <string>InstallApplication</string>
      <key>ManagementFlags</key>
      <integer>0</integer>
      <key>ManifestURL</key>
      <string>https://dev.xxx.xxx/SelfProv/downloads/MDMClient.plist</string>
    </dict>
  </dict>
</plist>

设备响应如下:

<?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>CommandUUID</key>
    <string>14b4bf63-f259-4e10-b2f3-109f9ad377bf</string>
    <key>ErrorChain</key>
    <array>
        <dict>
            <key>ErrorCode</key>
            <integer>12024</integer>
            <key>ErrorDomain</key>
            <string>MCMDMErrorDomain</string>
            <key>LocalizedDescription</key>
            <string>无法验证 https://dev.xxx.xxx/SelfProv/downloads/MDMClient.plist 的应用程序清单。</string>
            <key>USEnglishDescription</key>
            <string>The manifest for the app at https://dev.xxx.xxx/SelfProv/downloads/MDMClient.plist could not be validated.</string>
        </dict>
        <dict>
            <key>ErrorCode</key>
            <integer>-1001</integer>
            <key>ErrorDomain</key>
            <string>NSURLErrorDomain</string>
            <key>LocalizedDescription</key>
            <string>请求超时。</string>
        </dict>
        <dict>
            <key>ErrorCode</key>
            <integer>-1001</integer>
            <key>ErrorDomain</key>
            <string>kCFErrorDomainCFNetwork</string>
            <key>LocalizedDescription</key>
            <string>请求超时。</string>
        </dict>
    </array>
    <key>RejectionReason</key>
    <string>CouldNotVerifyAppID</string>
    <key>Status</key>
    <string>Error</string>
    <key>UDID</key>
    <string>d55e39ccd45ec4db20f69d63fd3b42d05dbf8a7b</string>
</dict>
</plist>

我很确定mainfest网址是正确的,而且mainifest网址中指定的ipa文件也是正确的。

有人可以帮忙吗?

1 个答案:

答案 0 :(得分:0)

偶尔会发生这种情况。服务器端似乎出了问题。等一下,再试一次。