安装环境
Xcode 11.5
CocaPods 1.9.2
Carthage 末尾有教程
安装Nodejs
brew install node
安装 appium
npm install -g appium
appium客户端地址
https://github.com/appium/appium-desktop/releases
安装效验工具
npm install -g appium-doctor
或者
sudo npm install -g appium-doctor
或者
sudo chmod -R 777 /usr/local/lib/node_modules
npm install -g appium-doctor
iOS效验
appium-doctor --ios
安卓效验
appium-doctor --android
全绿就可以用了
可能遇到的问题
问题1:Error running xcrun simctl
Xcode-->Preferences-->Locations-->Command Line Tools 选择版本就可以
问题2:Carthage was NOT found!
安装 Carthage
$ brew update
$ brew install carthage
Appium 使用教程