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

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

问题描述

我最近将我的Xcode升级到了4.2.从那时起,我的管理器存储库停止工作.最初,它说主机不可达",并在每个位置都放置了红点.

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中提供了 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/...

我们非常感谢您的帮助.

Any help is highly appreciated.

更新:为了找出问题,我尝试连接 http://gdata -objectivec-client.googlecode.com/svn/trunk/来自xcode组织者,它可以正常工作.我没有为此位置提供任何用户名和密码.但是,我的存储库需要身份验证,在我最近的尝试中,当我在左窗格中选择快捷方式时,主干,分支和标签旁边的点图标会显示为绿色.但是,当我单击"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'

UPDATE 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.

当我打开管理器时,与我的预期相反,所有svn快捷方式均完好无损,问题仍然存在.

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

推荐答案

问题仅在于最新的XCode 4(内部版本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.

就像萨兰一样,我尝试了majkelx和OMH的建议,但它们对我没有用.

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

当我启动内部版本4C177并立即打开管理器时,存储库最初显示为绿色(如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.

因此,我得出的结论是,可以很好地设置存储库,并且身份验证确实可以正常工作,但是内部版本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后,管理器-SVN存储库停止工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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