libimobiledevice

Installation

brew uninstall libimobiledevice
brew install -v --fresh automake autoconf libtool wget libimobiledevice
brew install -v --HEAD --fresh --build-from-source ideviceinstaller
sudo chmod 777 /var/db/lockdown

功能

ideviceinfo

手机信息

idevicesyslog

Connect an iPhone/iPad

View device log in realtime. Very handy for debugging Phonegap apps - shows WebView output and native messages

idevicescreenshot

Take screenshot. Puts a TIFF file in the current directory.

ideviceinstaller -i myapp.ipa

Install an IPA onto your device

Troubleshooting

ERROR: Could not connect to lockdownd

Try this:

sudo chmod -R 777 /var/db/lockdown/

Ref

Show Comments