L'obtention d'un appareil UDID de .mobileconfig

Je suis en train d'écrire la fonction semblable à http://whatismyudid.com/ qu', puis approuvé, sera de retour avec les utilisateurs UDID et de les stocker dans une base de données de référence pour l'avenir avec l'utilisateur.

J'ai écrit .mobileconfig xml doc qui s'ouvre dans le Profil de l'Installateur très bien, mais quand je dis ça pour installer le profil il répond avec [alert] Invalid Profile mais pas d'alerte du corps. Pas de description, pas de code, pas d'aide.

Je suis nouveau sur le mobile de configuration de jeu de sorte que toute aide serait me passionnent.

Voici mon fichier de configuration:

<?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>
    <dict>
        <key>URL</key>
        <string>http://apps.mortlabs.com/device/retrieve.php</string>
        <key>DeviceAttributes</key>
        <array>
            <string>UDID</string>
            <string>IMEI</string>
            <string>ICCID</string>
            <string>VERSION</string>
            <string>PRODUCT</string>
        </array>
    </dict>
    <key>PayloadOrganization</key>
    <string>MortLabs.com</string>
    <key>PayloadDisplayName</key>
    <string>Profile Service</string>
    <key>PayloadVersion</key>
    <integer>1</integer>
    <key>PayloadUUID</key>
    <string>B958E359-34C2-42F4-BD0C-C985E6D5376B</string>
    <key>PayloadIdentifier</key>
    <string>com.mortlabs.profile-service</string>
    <key>PayloadDescription</key>
    <string>This temporary profile will be used to find and display your current device's UDID.</string>
    <key>PayloadType</key>
    <string>Profile Service</string>
</dict>
</plist>

Le profil est initialisé par la navigation à http://apps.mortlabs.com/device/enroll.php avec le navigateur safari mobile

InformationsquelleAutor joseym | 2011-04-25