无法在 MDM 中安装应用程序

无法在 MDM 中安装应用程序

问题描述:

它是使用 APNs 的 MDM.在组合配置文件中允许添加和删除应用程序.使用iOS5的iPhone.尽管iTunesStore"的免费应用程序"的安装是由 iOS 的 MDM 通过以下方法执行的,但它没有成功.这个方法有没有搞错?请教我正确的方法.

It is MDM using APNs. An addition and deletion of an application are permitted in the composition profile. iPhone of iOS5 is used. It does not succeed, although installation of the "free application" of "iTunesStore" is performed by the following method by MDM of iOS. Has it made a mistake in this method? Please teach me the right method.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN""http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <?xml version="1.0" encoding="UTF-8"?>
    <plist version="1.0">
       <dict>
          <key>CommandUUID</key>
          <string>995761bc0ac0f311452f050a3e4be157ca2dda75</string>
          <key>Command</key>
          <dict>
             <key>RequestType</key>
             <string>InstallApplication</string>
             <key>iTunesStoreID</key>
             <number>338761996</number>
             <key>ManagementFlags</key>
             <integer>1</integer>
          </dict>
       </dict>
    </plist>

number 标签替换为 integer.

    <?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>4424F929-BDD2-4D44-B518-393C0DABD56A</string>
              <key>Command</key>
                   <dict>
                        <key>RequestType</key>
                        <string>InstallApplication</string>
                        <key>iTunesStoreID</key>
                        <integer>464656389</integer>
                        <key>ManagementFlags</key>
                        <integer>4</integer>
                   </dict>
         </dict>
    </plist>

这个问题花了我一周时间,直到我意外解决了这个问题.

This problem took me a week until I accidentally figure this out.