Displays info about the currently connected iOS devices.
- Clone the repository:
$ git clone https://github.com/qiffp/DeviceDump.git
- Build and install
devicedump
to/usr/bin/local/
:
$ rake install
Default output:
$ devicedump
1 device connected:
Device name: Someone's iPad
Model: iPad Mini
OS version: 7.1.1
Type: iPad2,5
Model number: MD528
Serial number: [device serial number]
UDID: [40 character device identifier]
Format output as JSON with --json
option:
{
"devices" : [
{
"model" : "iPad Mini",
"os_version" : "7.1.1",
"udid" : "[40 character device identifier]",
"model_number" : "MD528",
"type" : "iPad2,5",
"name" : "Someone's iPad",
"serial_number" : "[device serial number]"
}
]
}
Also include the USB Product ID and Vendor ID (from system_profiler) for use with VMware with --vmware
option:
{
"devices" : [
{
...
"usb_product_id": "0x12ab",
"usb_vendor_id": "0x05ac"
}
]
}
==
Built using a modified version of MobileDeviceAccess by Jeff Laing (tristero).