macaca inspector 安装

https://macacajs.github.io/app-inspector/cn/

$ npm install macaca-cli -g

$ macaca doctor

$ npm install app-inspector -g

$ app-inspector -u YOUR-DEVICE-ID

iOS命令行方式$ xcrun simctl list

遇到的问题如下:


macaca inspector 安装

一、node version: v4.5.0 lower than v6.9.2解决方法:

1、sudo npm install n -g

2、sudo n latest

https://*.com/questions/10075990/upgrading-node-js-to-latest-version

二、xcode is uninstalled

安装或更新xcode

三、Command Line Tools: ios_webkit_debug_proxy is uninstalled解决方法:

brew install ios-webkit-debug-proxy

四、carthage require version 0.22.0 and above解决方法:

brew install carthage

五、command line tools: gradle is uninstalled解决方法:

brew update && brew install gradle