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

查看:185
本文介绍了Xcode:错误 - >构建失败 - >请升级您的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升级然后我在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 我收到消息无法升级'...',因为它不是1.7之前的工作副本目录

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?

最好的问候Tim

推荐答案

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.6服务器和SVN 1.7服务器。一些较新的功能将无法使用,但它将起作用。无需降级服务器或服务器端存储库。

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.

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

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