MacOS missing xcrun问题 Posted on 2018-11-09 Edited on 2020-12-04 In uncategorized 升级MacOS后brew upgrade经常会出现如下错误: 12345The bottle needs the Apple Command Line Tools to be installed. You can install them, if desired, with: xcode-select --installxcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 是因为系统升级后没有安装相应版本的Apple Command Line Tools解决办法就是像错误提示里说的一样: 1$ xcode-select --install