装完 homebrew后在代码编译出错:
error:# [xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance]
解决办法:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
/Applications/Xcode.app/Contents/Developer
标注的部分就是修改的路径了
修改过后,再重新运行脚本,这时候就不再报错了
https://www.cnblogs.com/huangfuql1314/p/8417597.html