升级到 Xcode 4.2 后,Organizer - SVN 存储库停止工作 [英] After upgraded to Xcode 4.2, Organizer - SVN repository stopped working

查看:33
本文介绍了升级到 Xcode 4.2 后,Organizer - SVN 存储库停止工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近将我的 Xcode 升级到 4.2.从那以后,我的 Organizer-Repository 停止工作.最初它说主机无法访问"并在每个地方放置红点.

I recently upgraded my Xcode to 4.2. Since then my Organizer-Repository stopped working. Initially it said "Host is unreachable" and placed red dot every where.

在同一个 Mac 10.6.8 中,我确实有 SvnX,它可以在相同的 SVN 位置上正常工作,没有任何问题.我还在 Safari 中对此进行了测试,发现它可以正常工作(服务器支持 VisualSVN).只有 Xcode 发现这个位置有问题.

In the same Mac 10.6.8, i do have SvnX and it works with same SVN location without any problem. I also tested this in Safari and found it is working (Server supports VisualSVN). Only Xcode is finding problem with this location.

我什至附加了我的私有/etc/host 文件svn.ip.address my-svn-pet-name并在此 post 之后在我的 xcode 中使用它.不起作用.

I even appended my private/etc/host files with svn.ip.address my-svn-pet-name and used that in my xcode following this post. Doesn't work.

我的存储库通过特定端口 8080 连接.我在 svn url 中将 ip-address 指定为 http://my-svn-pet-name:8080/...

My repository is connected over a specific port 8080. I gave ip-address in svn url as http://my-svn-pet-name:8080/...

非常感谢任何帮助.

更新:为了隔离问题,我尝试连接 http://gdata-objectivec-client.googlecode.com/svn/trunk/ 来自 xcode Organizer,它可以正常工作.我没有为此位置提供任何用户名和密码.但是,我的存储库需要身份验证,在我最近的尝试中,当我选择左窗格中的快捷方式时,树干、分支和标签旁边的点图标呈绿色亮起.但是,当我单击root"并尝试展开trunk"时,它显示无法加载修订版"

UPDATE: To isolate the issue, i tried to connect http://gdata-objectivec-client.googlecode.com/svn/trunk/ from xcode organizer and it works without any problem. I didn't supply any user-name and password for this location. However, my repository requires authentication, in my recent tries when i select the short-cut on left pane, the dot-icon next to trunk, branches and tag glows green. However, when i click 'root' and tried to expand 'trunk' it says 'Unable to load revisions'

更新 9/9/11:使用命令 sudo/Developer/Library/uninstall-devtools --mode=all 卸载 xcode 并重新启动 mac 并重新安装 Xcode 4.2.

UPDATE 9/9/11: Uninstalled xcode using command sudo /Developer/Library/uninstall-devtools --mode=all and Restarted the mac and Re-installed Xcode 4.2.

当我打开 Organizer 时,出乎我的意料,所有 svn 快捷方式都完好无损,问题仍然存在.

When i open Organizer, contrary to my expectation, all svn shortcuts are intact and the issue still persists.

推荐答案

问题仅在于最新的 XCode 4 (build 4C177 — iOS 5 beta 7).

The problems are only with the latest XCode 4 (build 4C177 — iOS 5 beta 7).

稍早版本的 XCode 4(内部版本 4C104 — iOS 5 beta 5)工作正常.

A slightly earlier version of XCode 4 (build 4C104 — iOS 5 beta 5) works fine.

和 Saran 一样,我尝试了 majkelx 和 OMH 的建议,但它们对我不起作用.

Like Saran, I tried the suggestions from majkelx and OMH and they did not work for me.

当我启动 build 4C177 并立即打开 Organizer 时,存储库最初显示为绿色(如 Saran 所述)并且历史记录可用.任何其他操作都会使它们变红.但是文本编辑器中的比较视图成功显示了与存储库的差异,以及修订号.

When I launch build 4C177, and immediately open the Organizer, the repositories initially show green (as Saran noted) and histories are available. Any other operation turns them red. But the comparison view in the text editor successfully shows diffs against the repository, with revision number.

因此,我得出的结论是,存储库设置正常并且身份验证实际上可以正常工作,但是 build 4C177 中的各种源代码控制功能存在问题.我建议安装较早的 XCode 4 并等待下一个版本.我向 Apple 提交了错误报告.

So, I conclude that the repositories are set up OK and authentication is actually working, but various source-control functionality in build 4C177 is buggy. I'd advise installing an earlier XCode 4 and waiting for the next release. I filed a bug report with Apple.

这篇关于升级到 Xcode 4.2 后,Organizer - SVN 存储库停止工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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