方法1 安装包安装
地址:https://github.com/appium/appium-desktop/releases
image.png
此方法不推荐,安装报错很难找到
安装方法2,命令安装
npm install -g appium-doctor
image.png
配置环境变量
vim ~/.bash_profile
image.png
检查appium是否安装成功(所有项都打勾才行)
appium-doctor
image.png
安装问题处理
1, ✖ Carthage was NOT found!
brew install carthage #carthage:类似cocoapods管理第三方代码,自动将工程编译为动态库,所以仅支持iOS8以上
2, opencv4nodejs cannot be found
3, ffmpeg cannot be found
4,fbsimctl cannot be found
5,applesimutils cannot be foun
6,idevicelocation cannot be found
7,ios-deploy cannot be found
解决方法 sudo npm install -g ios-deploy --unsafe-perm=true --allow-root
8,ios_webkit_debug_proxy cannot be found
9,bundletool.jar cannot be found