当首次执行appium doctor诊断可能就会报这个错,是因为appium还没有兼容到那么高的Mac OS版本,这个时候需要我们手动地去修改一下Appium的配置参数:

问题:

Appium [Error: Could not detect Mac OS X Version from sw_vers output: '10.13.5 ']


解决方案:

第一步:使用命令找出需要修改的文件

    grep -rl "Could not detect Mac OS X Version from sw_vers output:" /Applications/Appium.app/

找到以下需要修改的文件目录

Appium [Error: Could not detect Mac OS X Version from sw_vers output: '10.13.5 ']


第二步:vim命令打开这几个文件,并做修改,添加10.13当前Mac OS版本

Appium [Error: Could not detect Mac OS X Version from sw_vers output: '10.13.5 ']

全部4个文件修改完毕之后再次执行doctor 即可看到Everything looks good,bye!

Appium [Error: Could not detect Mac OS X Version from sw_vers output: '10.13.5 ']

相关文章:

  • 2021-12-21
  • 2021-11-01
  • 2022-12-23
  • 2022-12-23
  • 2021-05-28
  • 2021-04-04
  • 2021-12-04
  • 2022-01-02
猜你喜欢
  • 2022-12-23
  • 2021-11-05
  • 2022-12-23
  • 2022-12-23
  • 2022-02-12
  • 2021-04-19
  • 2022-12-23
相关资源
相似解决方案