none of these solutions work for me.
xcode-select --install
fails due to a server error. Another comment on this thread mentions it's not available from the server. I am on macos 14.6.1, so I downloaded xcode 15.3 manually from apple.developer.com. It installed correctly, but I still get the same errors:
xcode-select: error: invalid developer directory '/Library/Developer/CommandLineTools'
Failed during: /usr/bin/sudo /usr/bin/xcode-select --switch /Library/Developer/CommandLineTools
I simply want to install homebrew so I can install Wine. Any advice would be great. Thanks
edit: I also added the folder
CommandLineTools
to the developer folder:
Library/Developer/CommandLineTools
and found no success when installing homebrew.