XCode 4 (Assembla) SVN 存储库“无法加载修订版" [英] XCode 4 (Assembla) SVN Repository "Unable to load revisions"

查看:35
本文介绍了XCode 4 (Assembla) SVN 存储库“无法加载修订版"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试使用我正在处理的 iPhone 项目的新 xcode 4 IDE 连接到 https 汇编 svn 存储库,但没有成功.

I've been trying unsuccessfully to connect to an https assembla svn repository with the new xcode 4 IDE for an iPhone project I'm working on.

我能够与最新版本的 xcode (3?) 以及其他 svn 应用程序连接得很好.我使用的是相同的 repo 地址和凭据,所以我很困惑为什么这不起作用.

I was able to connect just fine with the last version of xcode (3?), and with other svn apps. I'm using the same repo address and credentials, so I'm baffled as to why this doesn't work.

我也尝试加载存储库的工作副本,但它也无法连接.

I also tried loading in a working copy of the repo, and it cannot connect either.

出现的一条错误消息是无法加载修订版"

The one error message that comes up is "Unable to load revisions"

有什么建议吗?

推荐答案

链接很多,但是这里没有直接贴出解决方案,所以我来做一下.

There are a lot of links, but no solution posted directly here, so I'll do it.

Xcode4 这样做的原因是它尝试使用您的 mac 凭据将您登录到 SVN 服务器.当失败时,它基本上只是挂起并失败.到目前为止,我见过的最好的解决方案是:

The reason Xcode4 does this is that it tries to log you into the SVN server with your mac credentials. When that fails, it basically just hangs and fails. The best solution I've seen so far is this:

打开终端

如果您没有项目,请执行以下操作:

If you don't have the project out do this:

>svn checkout SERVER_PATH FOLDER_PATH_TO_PUT_THE_PROJECT

然后它会要求您输入 mac 用户名的密码,您只需输入任何内容或不输入任何内容,然后按 Enter.

It will then ask you for password for the mac username, you just write anything or nothing and press enter.

然后它会失败并要求您输入用户名.输入正确的,然后在询问时输入密码.

it will then fail and ask you for a username. Enter the correct one and then the password when it asks.

项目将被检出,但您可以关闭终端窗口并根据需要再次删除该文件夹.Xcode4 现在可以顺利连接.:)

The project will be checked out, but you can just close the terminal window and delete the folder again if you want. Xcode4 will now connect without a hitch. :)

这篇关于XCode 4 (Assembla) SVN 存储库“无法加载修订版"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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