In the process of building appium environment, various errors will appear when running appium doctor — IOS command.
Error 1: dB and IDB_companion are not installed
Solution:
1. Update MAC system and Xcode software
2. Run command
brew tap facebook/fb brew install idb-companion pip install fb-idb
Just.
Error 2: opencv4nodejs cannot be found
1. Install cmake and check the version
cmake -version
2. Run command
npm -g install opencv4nodejs --ignore-scripts
Just.