appium(3)- appium安装

方法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

参靠
https://www.jianshu.com/p/73981e3265d5

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。