xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
error: xcodebuild did not run successfully (exit code: 1)
Run this code:
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
Run this code:
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
https://stackoverflow.com/questions/9849034/how-to-run-install-xcodebuild