Installation error on Monterey: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
ksonbol opened this issue · comments
Hi, running ./install
on macOS Monterey 12.3.1 fails with the following error:
Install RDM to /Applications? (Y/n): Y
An error occured; try again
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
Try this:
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
Hi, after running
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
I get this result:
xcode-select: error: invalid developer directory '/Applications/Xcode.app/Contents/Developer'
What I should do?
Hi, after running
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
I get this result:
xcode-select: error: invalid developer directory '/Applications/Xcode.app/Contents/Developer'
What I should do?
hi! did you find how to fix it?have the same problem. :(
You need to install Xcode from the app store. Beware it's nearly 20 GBs in size. Then the aforementioned command should work.