tool ‘xcodebuild’ requires Xcode, but active developer directory ‘/Library/Developer/CommandLineTools’ is a command line tools instance

If you’re looking for a simple command that can fix this, and your xcode is installed in the default location (/Applications/Xcode.app), you can fix this with this command:

sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

Posted by softclue.net

Leave a Reply