xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
build/core/combo/mac_version.mk:27: none of the installed SDKs (ac_sdk_versions_installed) match supported versions (10.14), trying 10.14
1、设置xcode-select到指定位置
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/
2.验证是否设置成功
xcode-select --print-path
/Applications/Xcode.app/Contents/Developer