xcode代码里面有自带的同步代码的方法。 Xcode ->preferences->Downloads->command Line Tools 这样,在命令行里面,输入svn 就能看到,svn已经安装上了。