当前位置:首页 > 操作系统 > MacOs

mac 更新完Big Sur需重新配置项目

趁周末时间充裕,把电脑系统更新到Big Sur了,最近Big Sur应该较稳了。

更新后,有些命令会报错,这篇文章是用来记录需要重新安装哪些文件的。

xcode

运行strings img.jpg后,报错如下:

<code>xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
</code>

xcode路径有问题了,需要重装xcode command line;

<code>xcode-select --install
</code>

如果没有解决问题,执行以下命令

<code>sudo xcode-select -switch /
</code>

【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!

相关教程推荐

其他课程推荐