- chrome 必须是45.0.2454.85的版本,否则无法执行js,控制台不能调试js 非常重要
- https://www.jianshu.com/p/e4e3dedfe36b
- brew update
- 遇到权限问题:
-
sudo chgrp -R admin /usr/local
sudo chmod -R g+w /usr/local
- 继续:
brew install --HEAD libimobiledevice
brew install -s ios-webkit-debug-proxy
---------遇到错误后重新安装
brew reinstall --HEAD libimobiledevice
brew reinstall -s ios-webkit-debug-proxy
- 启动 proxy,在终端中输入!
ios_webkit_debug_proxy -f chrome-devtools://devtools/bundled/inspector.html