Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我安装brew并设法让它安装东西,在不确定我做错了什么之间,但一些brew命令刚刚停止工作(brew install,brew doctor)命令只会留在终端中而不是继续前进。
brew
brew install
brew doctor
我已经卸载brew了几次,这没有帮助。
我的猜测是它在我安装 Xcode 和 Xcode CLT 后开始发生
帮助将不胜感激
感谢#machomebrew IRC 频道上的@mistym,我修复了它。
您需要运行xcode-select -switch并将其指向您的 Xcode.app。
xcode-select -switch
例如
xcode-select -switch /Applications/Xcode.app