using SVN 1.8.3 with Xcode 5

后端 未结 3 1594
栀梦
栀梦 2020-12-24 10:07

I updated the Subversion client on my system to 1.8.3. I did a checkout of my repository from Xcode 5\'s Source Control menu. Then in terminal

3条回答
  •  被撕碎了的回忆
    2020-12-24 10:48

    The above solution ultimately did work for me for Xcode 5.1; I have shortened the code above, feel free to change your directories appropriately (e.g., since I am using MacPorts my svn binaries are in /opt/local/bin):

    export xcode_dir=/Applications/Xcode.app/Contents/Developer/usr/bin
    export svn_files="svn svnadmin svndumpfilter svnlook svnrdump svnserve svnsync svnversion"
    export svn_dir=/opt/local/bin
    for f in $svn_files; do echo "sudo mv -v $xcode_dir/$f $xcode_dir/$f.bak && sudo ln -s $svn_dir/$f $xcode_dir/$f”; done | bash
    

    In addition to this, try deleting your project.xcworkspace if you are running into trouble after updating SVN, and make sure you are running the correct version of Xcode! (I was still running Xcode 5.1 BETA while attempting to validate changes I made to the Xcode.app directory... Stupid mistake but it took me a while to figure out)

提交回复
热议问题