安裝Xcode 4.5後,您需要按照these instructions安裝命令行工具。一旦你成功完成了那麼你應該看到svn已經安裝了:
$ which svn
/usr/bin/svn
$ svn --version
svn, version 1.6.18 (r1303927)
compiled Aug 4 2012, 19:46:53
Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.apache.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).
The following repository access (RA) modules are available:
* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
- handles 'http' scheme
- handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
$
你安裝了Xcode嗎? –
是的,xCode已安裝。最新版本。 – Dmitry
我不是100%確定的,但我認爲它帶有XCode或XCode工具。你安裝了XCode(和工具)嗎? 我有Xcode和安裝的工具,我確實有svn。但我是獅子,不是山獅。我沒有山獅機器檢查。 –