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

在搭建appium的环境的过程中,运行appium-doctor --ios命令会出现各种报错。

报错1:db and idb_companion are not installed

解决方式:

1.更新mac系统和xcode软件

2.运行命令

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

即可。

报错2:opencv4nodejs cannot be found

1.安装cmake并查看版本

cmake -version

2.运行命令

npm -g install opencv4nodejs --ignore-scripts

即可。

 

posted @ 2021-12-13 22:52  罗毅豪  阅读(368)  评论(0编辑  收藏  举报