1.原因
客户端未添加静态库2.解决办法
到项目静态库所在目录用命令行添加静态库文件
svn add ****.a
3.可能存在问题
Mac OS的自带SVN版本过低不能添加,报错如下:
svn: E155021: This client is too old to work with the working copy at
4.解决办法
升级Mac OS命令行的SVN客户端
5.下载PKG包
到 http://www.wandisco.com/subversion/download#osx 下载
需要填写相关信息的表单,提交后会发送下载链接到你的邮箱(好蛋疼),然后下载
6.安装SVN
Post-Installation Notes
You have successfully installed the Subversion 1.9.2 universal client binary for OS X Yosemite (10.10). Please remember to prepend /opt/subversion/bin to your PATH environment variable. This can be done a multitude of ways but an easy one is to add the following to the end of ~/.profile:
export PATH=/opt/subversion/bin:$PATH
These packages are provided by WANdisco (http://www.wandisco.com). If you wish to get help or provided feedback, please email opensource@wandisco.com.
7. 重新设置环境变量
下载安装完成后,重新配置系统变量
cd vim .bash_profile
创建文件后,在文件中输入
export PATH=/opt/subversion/bin:$PATH
:wq退出并保存
执行
source .bash_profilesvn --version
ok ~~~