Skip to content

Latest commit

 

History

History
161 lines (76 loc) · 1.94 KB

libmobiledevice.md

File metadata and controls

161 lines (76 loc) · 1.94 KB

libimobiledevice

libimobiledevice is a cross-platform software library used for communicating with iPhone, iPod Touch, iPad, and Apple TV devices running iOS. It allows for interaction with these devices on Linux and provides practical tools such as extracting crash logs and generating iTunes backups.

Install

brew install libimobiledevice

Usage

  1. Get the UDID from the connected device.
idevice_id -l
  1. Get the name from the connected device.
idevicename
  1. Get the name from the specific UDID.
idevicename -u <UDID>
  1. Get the device info from the specific UDID.
ideviceinfo -u <UDID>
  1. List the provision file from the connected device.
ideviceprovision list
  1. Copy the provision file to a specific path from the connected device.
ideviceprovision copy <path>
  1. Move the crash report file to a specific path.
idevicecrashreport -u <UDID> <path>
  1. Copy the crash report file to a specific path.
idevicecrashreport -u <UDID> -k <path>
  1. Shutdown the device.
idevicediagnostics shutdown
  1. Restart the device.
idevicediagnostics restart
  1. Pair with your computer.
idevicepair -u <UDID> pair
  1. Get the log info from a specific process.
idevicesyslog -d -p <process>

ideviceinstaller

Install

brew install ideviceinstaller

Usage

  1. Show the helper info.
ideviceinstaller -h
  1. Show the info from the connected device.
ideviceinstaller -i
  1. Install the ipa file to the connected device.
ideviceinstaller -i <ipa-file-path>`
  1. Uninstall ipa file.
ideviceinstaller -u <bundle-identifier>

Reference