注意 WebDriverAgent 中的lib+runner 一定要编译通过!
1.若是下载他人的webdriveragent 调通后 一定要 替换掉appium下的webdriveragent!
2.xcode 调试时候。 先确保 本身 xcode的账号ok~没有 not in keychain!
我的webdriveragent路径:/Applications/Appium.app/Contents/Resources/app/node_modules/appium-webdriveragent
安装homebrew
sudo xcode-select --switch /Applications/Xcode.app
/usr/bin/ruby -e ``"$(curl -fsSL (https://raw.githubusercontent.com/Homebrew/install/master/install))`
brew update
安装node
brew install node
安装npm
brew install npm
npm install npm -g
(可选)安装淘宝的npm镜像cnpm,后续操作可以使用cnpm替代npm
npm install cnpm -g --registry=https://registry.npm.taobao.org