错误->构建失败->请升级您的Subversion客户端以使用此工作副本 [英] Error -> Build failed -> Please upgrade your Subversion client to use this working copy

查看:258
本文介绍了错误->构建失败->请升级您的Subversion客户端以使用此工作副本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Xcode 4.2.1,并且在iOS模拟器上运行现有应用程序时遇到此问题:

I am using Xcode 4.2.1 and I have this problem running an existing application on the iOS simulator:

svn: The path '.' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.
/Users/me/Library/Developer/Xcode/DerivedData/myproject-dxfzldckuqdmlrghowwkdrbgoigy/Build    /Intermediates/myproject.build/Debug-iphonesimulator/MyProject.build/Script-9567AEA113C59633000AA291.sh: No Subversion revision found at /Users/me/Library/Developer/Xcode/DerivedData/myproject-dxfzldckuqdmlrghowwkdrbgoigy/Build/Intermediates/myproject.build/Debug-iphonesimulator/MyProject.build/Script-9567AEA113C59633000AA291.sh line 32.
Building revision 
Command /bin/sh failed with exit code 1

我安装了Subversion服务器1.7.1,并且在客户端上我也已升级到1.7.1. 我做了一个svn upgrade,然后在Xcode中遇到了这个错误.

I have a Subversion server 1.7.1 installed and also on the client side I upgraded to 1.7.1. I did a svn upgrade and then I get this error in Xcode.

如果在终端上重复svn upgrade,则会收到消息Can't upgrade '...' as it is not a pre-1.7 working copy directory.

If I repeat the svn upgrade on the terminal I get the message Can't upgrade '...' as it is not a pre-1.7 working copy directory.

那怎么了?我该如何解决问题?

So what is wrong? How an I solve the problem?

推荐答案

Xcode尚不支持SVN 1.7.仅支持1.6.为了解决您的问题,您需要切换到使用与SVN 1.6兼容的工作副本.

Xcode doesn't yet support SVN 1.7. Only 1.6 is supported. In order to fix your problem, you'll need to switch to using an SVN 1.6 compatible working copy.

由于SVN 1.7客户端完全无法使用1.6个工作副本,因此您需要从客户端中删除SVN 1.7.x并还原为1.6. (或者也许只是调整您的PATH,以便首先使用SVN 1.6工具.)返回1.6后,删除或移开现有的工作副本,然后使用SVN 1.6检出新副本.现在,Xcode应该可以使用您的工作副本了.

Since SVN 1.7 client is unable to work with 1.6 working copies at all, you'll need to remove SVN 1.7.x from your client and revert to 1.6. (Or perhaps just adjust your PATH so the SVN 1.6 tools are first.) Once 1.6 is back, delete or move aside your existing working copy and check out a fresh copy with SVN 1.6. Now Xcode should be able to work with your working copy.

请注意,您可以在SVN 1.7服务器上自由使用SVN 1.6客户端.某些较新的功能将不可用,但可以使用.无需降级服务器或服务器端存储库.

Note that you can freely use SVN 1.6 client with an SVN 1.7 server. Some of the newer features won't be available, but it will work. There's no need to downgrade the server or your server-side repositories.

请留意更新中的Xcode发行说明,因为我确定Apple会在Xcode能够使用SVN 1.7时予以注意.当1.7兼容版本的Xcode可用时,可以安全地将客户端升级到1.7,然后再次迁移工作副本.

Keep an eye on the Xcode release notes in updates as I'm sure Apple will note when Xcode is capable of using SVN 1.7. When a 1.7 compatible release of Xcode becomes available, it should then be safe to upgrade your client to 1.7 and migrate your working copy again.

这篇关于错误->构建失败->请升级您的Subversion客户端以使用此工作副本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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