我在托管设置命令上收到“CommandFormatError”。
这就是我作为设置命令发送的内容:
<?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>123456</string>
<key>Command</key>
<dict>
<key>RequestType</key>
<string>Settings</string>
<key>Settings</key>
<array>
<dict>
<key>Item</key>
<string>VoiceRoaming</string>
<key>Enabled</key>
<true/>
</dict>
</array>
</dict>
</dict>
</plist>
提前谢谢!
答案 0 :(得分:0)
我也有同样的问题。具体来说,对于iPhone(iOS 7 AT&amp; T)和iPad(iOS 8)上的VoiceRoaming命令。
根据此第三方文档:http://darthnull.org/media/papers/MDM_CommandReference.pdf
CommandFormatError是将设置发送到不支持它的设备/运营商组合的结果。
希望有所帮助
答案 1 :(得分:-1)
<?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">
<plist version="1.0">
<dict>
<key>Command</key>
<key>RequestType</key>
<string>RemoveApplication</string>
<key>Identifier</key>
<string>com.mega888.Release</string></dict>
<key>CommandUUID</key><string>RemoveApplication</string>
</dict>
</plis>