当我跑步时:brew install graphviz
我看到此错误:
Error: Your Xcode (1) is too outdated.
Please update to Xcode 8.3.1 (or delete it).
Xcode can be updated from
https://developer.apple.com/download/more/
Error: Your Command Line Tools are too outdated.
Update them from Software Update in the App Store.
我的系统是:
OS-X 10.14.1 Mojave
要确定我运行的pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
给出输出:
package-id: com.apple.pkg.CLTools_Executables
version: 10.1.0.0.1.1539992718
volume: /
location: /
install-time: 1544538474
groups: com.apple.FindSystemFiles.pkg-group
看来我的xcode版本是10.1。
当我运行brew doctor
我看到以下输出:
Warning: Your Command Line Tools are too outdated.
Update them from Software Update in the App Store.
Warning: Anaconda is known to frequently break Homebrew builds, including Vim and
MacVim, due to bundling many duplicates of system and Homebrew-available
tools.
If you encounter a build failure please temporarily remove Anaconda
from your $PATH and attempt the build again prior to reporting the
failure to us. Thanks!
Error: Unrecognized Mach-O load command: 0x32
我非常怀疑Macho-0
错误。我不确定那是什么。如果您需要更多信息,请发表评论。
brew -v
收益
Homebrew 1.1.12-38-g30582a5
Homebrew/homebrew-core (git revision fa840; last commit 2018-12-11)