输入命令appium-doctor检测appium环境配置,报错:AppiumDoctor ✖ Xcode is NOT installed!

但是Xcode明明已经安装了,为什么还是报错呢?查看目前Xcode的安装路径,输入命令xcode-select -p

输入命令sudo xcode-select -s /Applications/Xcode.app/Contents/Developer,然后输入密码,将Xcode的安装路径改为/Applications/Xcode.app/Contents/Developer

再次运行appium-doctor命令,不会报错了。

网友评论