工作副本需要比 Xcode 支持的更新版本的 Subversion [英] The working copy requires a newer version of Subversion than Xcode supports

查看:21
本文介绍了工作副本需要比 Xcode 支持的更新版本的 Subversion的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装了 Xcode 4.6(我有 Xcode 4.5.1).我刚刚打开一个现有项目并收到此消息:

<块引用>

工作副本path/to/my project"需要比 Xcode 支持的更新版本的 Subversion.

我目前正在将 Cornerstone 用于 svn,并且理解我可能可以忽略此消息 - 但由于我想保持最新状态,我需要做什么来解决此问题?

解决方案

Xcode 4.6 默认使用 SVN 1.6.X,但您项目的 SVN 信息可能是 1.7.X(可能由 Cornerstone 更新).因此,当您尝试更新时,将显示错误消息.所以我们必须让Xcode使用最新的1.7.X SVN.

<小时>

我也遇到了同样的问题.这是我的解决方案:

  1. 安装 Homebrew,我们将使用它来安装最新的 SVN:

    <块引用>

    ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

  2. 安装最新的SVN:

    <块引用>

    brew 安装颠覆

  3. 备份旧的SVN文件并链接最新的SVN:

    <块引用>

    cd/Applications/Xcode.app/Contents/Developer/usr/bin/mkdir bak.svnmv svn* bak.svnln -s/usr/local/Cellar/subversion/1.7.8/bin/svn*/Applications/Xcode.app/Contents/Developer/usr/bin/

  4. 重启Xcode

I just installed Xcode 4.6 (I had Xcode 4.5.1). I just opened an existing project and got this message:

The working copy "path/to/my project" requires a newer version of Subversion than Xcode supports.

I am currently using Cornerstone for svn, and understand that I can probably ignore this message - but since I want to be up-to-date, what do I need to do to resolve this issue?

解决方案

The Xcode 4.6 default use the SVN 1.6.X, but you project's SVN info maybe 1.7.X (That may update by Cornerstone). As a result, when you try to update, the error message'll show. So we have to let the Xcode use the latest 1.7.X SVN.


I also met the same problem. That's my solution:

  1. Install the Homebrew, we'll use it to install the latest SVN:

    ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

  2. install the latest SVN:

    brew install subversion

  3. Backup the old SVN file and link the latest SVN:

    cd /Applications/Xcode.app/Contents/Developer/usr/bin/        
    mkdir bak.svn
    mv svn* bak.svn
    ln -s /usr/local/Cellar/subversion/1.7.8/bin/svn* /Applications/Xcode.app/Contents/Developer/usr/bin/
    

  4. Restart Xcode

这篇关于工作副本需要比 Xcode 支持的更新版本的 Subversion的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆