Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are supported device attributes on iOS during enrollment phase?

I'm installing configuration profile using over-the-air (OTA) enrollment. What are supported device attributes on iOS during first phase payload? I'm sending sth like:

<plist version="1.0">
    <dict>
        <key>PayloadContent</key>
        <dict>
            <key>Challenge</key>
            <string>challenge</string>

            <key>DeviceAttributes</key>
            <array>
                <string>UDID</string>
                <string>DEVICE_NAME</string>
                <string>VERSION</string>
                <string>PRODUCT</string>
                <string>MAC_ADDRESS_EN0</string>
                <string>IMEI</string>
                <string>ICCID</string>
            </array>

            <key>URL</key>
            <string>https://my-profile-server</string>
        </dict>
        <key>PayloadDescription</key>
        <string>Enter device into the encrypted profile service</string>
        <key>PayloadDisplayName</key>
        <string>Profile Service</string>
        <key>PayloadIdentifier</key>
        <string>com.xxx.mobileconfig.profile-service</string>
        <key>PayloadOrganization</key>
        <string>XXX</string>
        <key>PayloadType</key>
        <string>Profile Service</string>
        <key>PayloadUUID</key>
        <string>1a21d4dd-6723-45c5-a184-c3fe0075db14</string>
        <key>PayloadVersion</key>
        <integer>1</integer>
    </dict>
</plist>

Is there any more attribute that I can get from the device in this payload? For example serial number? Is there any official list of possible attributes? Any help would be much appreciated. Thanks.

like image 778
user1829451 Avatar asked Nov 16 '12 11:11

user1829451


3 Answers

I have not found an official list, however, I know you can get the following device attributes during the OTA enrollment phase:

  • DEVICE_NAME
  • UDID
  • IMEI
  • MEID
  • SERIAL
  • VERSION
  • PRODUCT
like image 77
Michael Gaffney Avatar answered Oct 06 '22 00:10

Michael Gaffney


Important note: Newer versions of iOS support fewer and fewer properties. iOS 6 pretty much only does DEVICE_NAME, UDID and VERSION.

like image 30
Mikkel Løkke Avatar answered Oct 06 '22 00:10

Mikkel Løkke


  • UDID
  • VERSION
  • PRODUCT (ie. iPhone1,1 or iPod2,1)
  • MAC_ADDRESS_EN0 (WiFi MAC address)
  • DEVICE_NAME (given device name "iPhone")
  • IMEI (Only on iPhones)
  • ICCID (Only on iPhones)

From: https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/iPhoneOTAConfiguration/CompanionFiles.zip

like image 43
alexruperez Avatar answered Oct 06 '22 00:10

alexruperez