首页 > 其他分享 >检查appium环境报错Error running xcrun simctl

检查appium环境报错Error running xcrun simctl

时间:2022-11-14 23:34:41浏览次数:64  
标签:appium Xcode simctl xcrun running 报错

在终端输入appium-doctor检查环境

报错:Error running xcrun simctl

如下图:

这个是由于Xcode没有选择版本号导致的

解决方案:

1、这个是Xcode的问题,Xcode安装之后,simctl可以用xcrun命令来执行;

打开Xcode-->Preferences-->Locations-->Command Line Tools 选择版本号就可以了

作者:百年成说
链接:https://www.jianshu.com/p/e9706a2ebdbb
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

标签:appium,Xcode,simctl,xcrun,running,报错
From: https://www.cnblogs.com/longronglang/p/16890939.html

相关文章