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
遇到的问题如下:
一、node version: v4.5.0 lower than v6.9.2解决方法:
1、sudo npm install n -g
2、sudo n latest