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 doctor
给了我一堆警告,最后一个是
Warning: Your Xcode (3.2) is outdated Please install Xcode 4.6.2.
但我已经在 Mac OS X 10.8.3 上安装了它。
尝试使用 Xcode-select 实用程序设置默认 Xcode 路径:
sudo xcode-select -switch /path/to/Xcode.app
如果这不起作用,您可能还必须下载并安装最新的 Xcode 命令行工具。
要卸载较旧的 Xcode,我做了:
sudo /Developer/Library/uninstall-devtools –mode=all
如此处所述,警告消失了。