macOS相关库安装
* libimobiledevice
brew install libimobiledevice
使用本机与iOS设备的服务进行通信的库。
* ideviceinstaller
brew install ideviceinstaller
获取设备uuid、安装app、卸载app、获取bundleid。
* carthage
brew install carthage
第三方库管理工具。
* ios-deploy
brew install ios-deploy
ios-deploy不依赖于xcode进行安装和调试iOS应用程序。
* node & npm
brew install node
brew install npm
* appium-doctor
npm install -g appium-doctor
* 验证appium环境
> appium-doctor
info AppiumDoctor Appium Doctor v.1.16.0
info AppiumDoctor ### Diagnostic for necessary dependencies starting ###
info AppiumDoctor ✔ The Node.js binary was found at: /usr/local/bin/node
info AppiumDoctor ✔ Node version is 15.5.1
info AppiumDoctor ✔ Xcode is installed at: /Applications/Xcode.app/Contents/Developer
info AppiumDoctor ✔ Xcode Command Line Tools are installed in: /Applications/Xcode.app/Contents/Developer
info AppiumDoctor ✔ DevToolsSecurity is enabled.
info AppiumDoctor ✔ The Authorization DB is set up properly.
info AppiumDoctor ✔ Carthage was found at: /usr/local/bin/carthage. Installed version is: 0.36.0
info AppiumDoctor ✔ HOME is set to: /Users/sven
WARN AppiumDoctor ✖ ANDROID_HOME environment variable is NOT set!
WARN AppiumDoctor ✖ JAVA_HOME environment variable i