解决:XCODE 4.2 无法连接SVN,提示:Unable to load revisions

解决方法:
1)打开“终端” ---(英文: open a terminal)
2)输入  >svn checkout SERVER_PATH FOLDER_PATH_TO_PUT_THE_PROJECT (实际可能是 svn checkout https://xxx.com/xx  xxProject)   https://xxx.com/xx这个为服务器端地址,xxProject为项目名   --- (英文: >svn checkout SERVER_PATH FOLDER_PATH_TO_PUT_THE_PROJECT
3)系统将提示你输入密码,随便输入一个,然后回车
4) 系统提示你输入用户名,输入正确的用户名
5)系统提示你输入密码,输入正确的密码,然后项目将会被checkout.
6)这是你可以关掉该窗口了(至于文件存哪里了,我还要研究下)
7)重新打开XCODE,然后按照附录重新添加一个repository,不成功的话再重开下XCODE试下
>>>>>>>>>>>>>>>>>>
解决方法(原文):
There are a lot of links, but no solution posted directly here, so I'll do it.

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:

open a terminal

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

>svn checkout SERVER_PATH FOLDER_PATH_TO_PUT_THE_PROJECT

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.

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. :)

-------------------------- -------------------------------------------------------------------------------- 附录:

:SVN新增Repository过程:

1)打开Organizer界面,选择Repositories

2) 左下角单击 +,选择Add Repository

3) Name自己写个自己容易记住的


4)location处填写服务端的地址,如https://xxx.com/xx

5)type选择subversion(GIT书上说主要用于单机,暂未测试)

6)完成进入下一步 会提示你输入用户名密码


输入后可以看到左边的的配置显示为绿色,如果还是红色,并且右边显示Unable to load revisions,请按指示操作一遍;


7)之后Checkout,update的操作自己看文档去。

转载于:https://www.cnblogs.com/lovesmile/archive/2012/08/28/2659687.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值