MacOS 报错 xcodebuild -showsdks

1
2
3
4
5
mac 报错
xcodebuild -showsdks
xcode-select: error: tool 'xcodebuild' requires Xcode,
but active developer directory '/Library/Developer/CommandLineTools'
is a command line tools instance
1
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/