当前位置:首页 > Web开发 > 正文

系统弹出下载xcode组件

2024-03-31 Web开发

mac报错: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun   场景: 使用goland  debug模式运行go代码main要领时,报以上错误,初阶分析是xcode 组件缺掉了 包孕一些其他场景如运行git命令等也有可能呈现此错误 解决要领: 打开命令终端运行 xcode-select --install 回车后,系统弹出下载xcode组件,点击确认,,下载完成后即可。 mac中很多软件都需要依赖xcode的先关组件。

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun

温馨提示: 本文由Jm博客推荐,转载请保留链接: https://www.jmwww.net/file/web/31463.html