Sonoma,Xcode 15:缺少 xcrun,位于:/Library/Developer/CommandLineTools/usr/bin/xcrun,5 次重新安装 xcode CLT

问题描述 投票:0回答:1

帮助我升级到 MacOS 14(Sonoma、Xcode 15.0)并且 git 失败。 Homebrew 以及我的工作都依赖于 git。

xcrun:错误:无效的活动开发人员路径(/Library/Developer/CommandLineTools),缺少 xcrun 位于:/Library/Developer/CommandLineTools/usr/bin/xcrun

如果有帮助的话,我已经重新安装了 xcode 命令工具 5 次了。问题发生在 2 台不同的 mac 机器上(M1 Studio 和 macbook pro 14")。我还手动安装了 Xcode。都没有

/库/开发人员/CommandLineTools/usr/bin/xcrun

也不

/Applications/Xcode.app/Contents/Developer/usr/bin/xcrun

存在。

homebrew xcrun
1个回答
0
投票

我第六次尝试重新安装 xcode 命令行工具,距第一次尝试大约 36 小时。我认为 XCode CLT 同时发生了变化。它顺利地再次恢复工作。

感谢所有试图提供帮助的人。

© www.soinside.com 2019 - 2024. All rights reserved.