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.
brew install libimobiledevice
- Get the
UDID
from the connected device.
idevice_id -l
- Get the
name
from the connected device.
idevicename
- Get the
name
from the specificUDID
.
idevicename -u <UDID>
- Get the device info from the specific
UDID
.
ideviceinfo -u <UDID>
- List the provision file from the connected device.
ideviceprovision list
- Copy the provision file to a specific path from the connected device.
ideviceprovision copy <path>
- Move the crash report file to a specific path.
idevicecrashreport -u <UDID> <path>
- Copy the crash report file to a specific path.
idevicecrashreport -u <UDID> -k <path>
- Shutdown the device.
idevicediagnostics shutdown
- Restart the device.
idevicediagnostics restart
- Pair with your computer.
idevicepair -u <UDID> pair
- Get the log info from a specific
process
.
idevicesyslog -d -p <process>
brew install ideviceinstaller
- Show the helper info.
ideviceinstaller -h
- Show the info from the connected device.
ideviceinstaller -i
- Install the
ipa
file to the connected device.
ideviceinstaller -i <ipa-file-path>`
- Uninstall
ipa
file.
ideviceinstaller -u <bundle-identifier>