Recently I got the following error on my Mac Terminal when I tried
svn: error: The subversion command line tools are no longer provided by Xcode.
To fix this, run following commands:
sudo rm -rf /Library/Developer/CommandLineTools xcode-select --install
Wait for the software to be installed. And you are done.