When i tried to install application remotely into an iPhone using the .mobileconfig file as mentioned in the question stack overflow answer
it returns an error "invalid profile". The code i used is
<?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>
Also please tell me what is string tag used for . I'm new to MDM.
In your profile, there was no space between "-//Apple//DTD PLIST 1.0//EN"
, "http://www.apple.com/DTDs/PropertyList-1.0.dtd"
<?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>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>
It will work.
what is string tag used for ?
<string> UTF-8 encoded string <real>, <integer> Decimal string <true/> or <false/> No data (tag only) <date> ISO 8601 formatted string <data> Base64 encoded data <array> Can contain any number of child elements An empty array may be represented as <array/> <dict> Alternating <key> tags and plist element tags
String tag will be used if you want to use UTF8 encoded string in your PList.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.