I am using macOS Catalina (10.15). I want to install Xcode, but having trouble.
When I type following in the terminal, I get an error.
$ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
But when I type the following, I get this error:
$ sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
xcode-select: error: invalid developer directory '/Applications/Xcode.app/Contents/Developer'