svn can not be used in MacOS Big Sur 11.0.1 (20B29).

  1. Update the MacOS Big Sur 11.0.1 (20B29).

  2. Use svn

zsh: command not found: svn.

Update the Xcode Line tool and then svn --version.

zsh: command not found: svn.

As you see. Subversion is removed from macOS or Xcode Command Line tools.

It was announced a long time before:
Xcode 11 Release Notes
  • Command line support for Subversion will be removed in a future release. (50195246, 50231958, 50266910, 51740851, 52528748)

You may install one from some package manager like MacPorts or HomeBrew.

Ok, the problem is solved. As OOPer said Subversion is removed from macOS or Xcode Command Line tools. So

brew install svn.

home-brew wont install SVN because MacOS 11 is not supported. Was a workaround done for it?



scons

PREFIX=/usr/local/Homebrew/Cellar/subversion/1.14.06/libexec/serf

GSSAPI=/usr

CC=/usr/bin/clang

CFLAGS=-Os -w -pipe -march=nehalem -mmacosx-version-min=11.0 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk

LINKFLAGS=-L/usr/local/opt/sqlite/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/lib -F/usr/local/Frameworks -Wl,-headerpad
maxinstallnames -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk

OPENSSL=/usr/local/opt/openssl@1.1

APR=/usr/local/opt/apr

APU=/usr/local/opt/apr-util








Error: You are using macOS 11.0.

We do not provide support for this released but not yet supported version.

You will encounter build failures with some formulae.

Please create pull requests instead of asking for help on Homebrew's GitHub,

Twitter or any other official channels. You are responsible for resolving

any issues you experience while you are running this

released but not yet supported version.



It is actually still there: /Library/Developer/CommandLineTools/usr/bin/svn
You can create an alias in your ~/.zshrc:
alias svn=/Library/Developer/CommandLineTools/usr/bin/svn
I hope this helps!
SVN is NOT included to Command Line Tools in macOS Big Sur 11.0.1 for Apple M1.

But I can find SVN in version for Intel Mac.
brew install svn
On Intel Mac with Big Sur you can install SVN using homebrew: brew install svn

2. I found a solution for Mac with Apple M1. Copy SVN binaries and dylibs from Intel Mac (SVN exists in Command Line Tools - install them firstly):

Code Block
mkdir svn_backup
cd svn_backup
mkdir bin
mkdir lib
cd ..
scp /Library/Developer/CommandLineTools/usr/bin/svn* svn_backup/bin
scp /Library/Developer/CommandLineTools/usr/lib/libsvn_*.dylib svn_backup/lib
scp /Library/Developer/CommandLineTools/usr/lib/libserf*.dylib svn_backup/lib


then copy executables to /usr/local/bin and dylibs to /usr/local/lib accordingly.

SVN will work via Rosetta 2 emulation on M1 chip.

I tested today, SVN works fine.
on my Mac M1, this worked for me:

brew install libtool
brew install --HEAD subversion

Versions
  • OSX = 11.1

  • brew = 2.7.5

In Mac M1:

  • Open terminal
  • Write line to install brew: https://brew.sh/index_es
  • Install "libtool": brew install libtool
  • Install "subversion": brew install --HEAD subversion
  • Done
svn can not be used in MacOS Big Sur 11.0.1 (20B29).
 
 
Q