iOS 移动配置无效



我正在尝试安装一个仅阻止主页按钮的移动配置文件,但我有一个错误:"无效的配置文件"。我使用的是 iOS 7。这是我基于官方文档的 xml 移动配置:

<?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>PayloadContent</key>
    <array>
        <dict>
            <key>PayloadUUID</key>
            <string>37BB1711-F1A3-48C3-BCB1-19B6A85394EA</string>
            <key>PayloadType</key>
            <string>com.apple.app.lock</string>
            <key>App</key>
            <dict>
                <key>Identifier</key>
                <string>com.pete.lockhomebutton</string>
            </dict>
        </dict>
    </array>
    <key>PayloadDescription</key>
    <string>Disables Home Button</string>
    <key>PayloadDisplayName</key>
    <string>Home Button Lock</string>
    <key>PayloadIdentifier</key>
    <string>com.pete.lockhomebutton</string>
    <key>PayloadOrganization</key>
    <string>Pete</string>
    <key>PayloadType</key>
    <string>Configuration</string>
    <key>PayloadUUID</key>
    <string>C66415E9-74FE-489A-896C-8AF0F0FE5E9A</string>
    <key>PayloadVersion</key>
    <integer>1</integer>
</dict>
</plist>

我找不到我的错误。

应用捆绑标识符: <key>Identifier</key> <string>com.pete.lockhomebutton</string>

有效负载标识符: <key>PayloadIdentifier</key> <string>com.pete.lockhomebutton</string>

这两者不能相同。

应用程序捆绑标识符,这是要锁定的应用程序的标识符。

仅当设备上已安装应用程序时,才能执行应用程序锁定。

最新更新