I got
No such file or directory [command line tools]
after update MacOS to Sonoma
I got
> make --version
make: error: sh -c '/Users/daegonlee/Downloads/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk '' -find make 2> /dev/null' failed with exit code 17920: (null) (errno=No such file or directory)
xcode-select: Failed to locate 'make', requesting installation of command line developer tools.
Fix
sudo xcode-select -r
Done
make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-apple-darwin11.3.0
brew reinstall make
brew unlink make
- Install on GUI
- xcode update on app store