xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)错误解决

mac报错:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

解决方法:

打开命令终端运行

xcode-select --install

弹出以下窗口,点击安装即可:
在这里插入图片描述

发布了35 篇原创文章 · 获赞 5 · 访问量 9504

猜你喜欢

转载自blog.csdn.net/iiiliuyang/article/details/104189976