Brew无法与已发布的Xcode 11一起运行

时间:2019-10-05 16:54:50

标签: homebrew

我在Mojave 10.14.6上安装了最新的Xcode 11版本(11A420a),现在自制失败,

Error: Xcode alone is not sufficient on Mojave. Install the Command Line Tools: xcode-select --install

已安装命令行工具

$ xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updates

有什么想法可以克服吗?

2 个答案:

答案 0 :(得分:0)

尽管您的XCode是11,但是您的XCode命令行工具已过时。根据错误消息升级XCL。

答案 1 :(得分:0)

原来系统对/Library/Developer/CommandLineTools中的内容感到困惑。因此,我删除了该版本,并进行了xcode-select --install,一切都恢复了。

相关问题