安装libimobiledevice :

 Could not connect to lockdownd. Exiting.  报错解决

brew uninstall --ignore-dependencies libimobiledevice
brew install --HEAD libimobiledevice
brew link --overwrite libimobiledevice
brew install ideviceinstaller
brew link --overwrite ideviceinstaller

sudo chmod -R 777 /var/db/lockdown

解决:

Requested 'libusbmuxd >= 1.1.0' but version of libusbmuxd is 1.0.10

brew update

brew uninstall --ignore-dependencies libimobiledevice

brew uninstall --ignore-dependencies usbmuxd

brew install --HEAD usbmuxd

brew unlink usbmuxd

brew link usbmuxd

brew install --HEAD libimobiledevice

OSX/Mac

1)Make sure you have Homebrew installed, and run the following command to install ios-webkit-debug-proxy and libimobiledevice

brew unlink libimobiledevice ios-webkit-debug-proxy usbmuxd
brew uninstall --force libimobiledevice ios-webkit-debug-proxy usbmuxd
brew install --HEAD usbmuxd
brew install --HEAD libimobiledevice
brew install --HEAD ios-webkit-debug-proxy

2) Install latest version of the adapter

npm install remotedebug-ios-webkit-adapter -g

3):

remotedebug_ios_webkit_adapter --port=9000

chrome://inspect

 
05-22 16:40