Skip to content

Instantly share code, notes, and snippets.

@raghorteprasad
Created April 9, 2018 15:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raghorteprasad/47d65fcbe2348c4a8b87c55747ddd754 to your computer and use it in GitHub Desktop.
Save raghorteprasad/47d65fcbe2348c4a8b87c55747ddd754 to your computer and use it in GitHub Desktop.
System.TypeInitializationException : The type initializer for 'XQA.Core.iOS.XILib' threw an exception.
----> System.IO.InvalidDataException : Failed parsing deviceversion. Found version 'Invalid usage
mobiledevice help
Display this help screen
mobiledevice version [options]
Display program version.
Options:
-r: Include revision identifier
mobiledevice list_devices [options]
Display UDID of each connected devices.
Options:
-t <timeout>: Timeout (in ms) to wait for devices (default: 1)
-n <count> : Limit the number of devices to be printed
mobiledevice list_device_props [options]
List all property names of device.
Options:
-u <udid> : Filter by device UDID (default: first detected device)
-t <timeout>: Timeout (in ms) to wait for devices (default: 1)
mobiledevice get_device_prop [options] <prop_name>
Display value of device property with given name.
Options:
-u <udid> : Filter by device UDID (default: first detected device)
-t <timeout>: Timeout (in ms) to wait for devices (default: 1)
mobiledevice list_apps [options]
Lists all apps installed on device
Options:
-u <udid> : Filter by device UDID (default: first detected device)
-t <timeout>: Timeout (in ms) to wait for devices (default: 1)
mobiledevice list_app_props [options] <bundle_id>
List all property names of app with given bundle id.
Options:
-u <udid> : Filter by device UDID (default: first detected device)
-t <timeout>: Timeout (in ms) to wait for devices (default: 1)
mobiledevice get_app_prop [options] <bundle_id> <prop_name>
Display value of app property with given name.
Options:
-u <udid> : Filter by device UDID (default: first detected device)
-t <timeout>: Timeout (in ms) to wait for devices (default: 1)
mobiledevice install_app [options] <path_to_app>
Install app (.app folder) to device
Options:
-u <udid> : Filter by device UDID (default: first detected device)
-t <timeout>: Timeout (in ms) to wait for devices (default: 1)
mobiledevice uninstall_app [options] <bundle_id>
Uninstall app with given bundle id from device
Options:
-u <udid> : Filter by device UDID (default: first detected device)
-t <timeout>: Timeout (in ms) to wait for devices (default: 1)
mobiledevice tunnel [options] <from_port> <to_port>
Forward TCP connections to connected device
Options:
-u <udid> : Filter by device UDID (default: first detected device)
-t <timeout>: Timeout (in ms) to wait for devices (default: 1)
mobiledevice get_bundle_id <path_to_app>
Display bundle identifier of app (.app folder)' for device with UDID 'Using Xcode 9.2 found in /Applications/Xcode9-GM.app/Contents/Developer'
----> System.ArgumentException : Version string portion was too short or too long.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment