环境搭建之appium-doctor –ios命令的各种报错

 

安装完homebrew后执行下面命令

 1、opencv4nodejs can not found

# 安装
brew install cmake

# 查看版本
cmake -version

# 运行命令
npm -g install opencv4nodejs --ignore-scripts

2、ffmpeg cannot be found

# 安装
brew install ffmpeg

# 检查
ffmpeg

3、mjpeg-consumer cannot be found

npm i -g mjpeg-consumer 

4、set-simulator-location is not installed

brew install lyft/formulae/set-simulator-location

5、idb and idb_companion are not installed

brew tap facebook/fb
brew install idb-companion
pip3 install fb-idb

6、applesimutils cannot be found

brew tap wix/brew

brew install applesimutils

7、ios-deploy cannot be found

npm install -g ios-deploy 或 sudo cnpm install -g ios-deploy --unsafe-perm=true 

以下的错误我这没有,但是每个人的错误都不一样,因此我也写出来。

8、Carthage was NOT found

brew install carthage

9、bundletool.jar cannot be found   

1.在https://github.com/google/bundletool/releases 下载bundletool.jar

2.改名成这个bundletool

3.在android sdk目录下,创建bundle-tools目录,把jar包放入

4.在终端进入到当前目录

5.给jar包加权限:chmod +x bundletool.jar

6.修改环境变量:

open -e .bash_profile

# 最后加入
export PATH=${PATH}:${ANDROID_HOME}/bundle-tools

source .bash_profile

10.gst-launch-1.0 and/or gst-inspect-1.0 cannot be found

brew install gstreamer
  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值