HardBirch

【iOS】解决方法Solution for XCode 4 Repository “Unable to load revisions”

时间:12-11-27 栏目:iOS开发入门与提高, iOS移动应用开发技术 作者:魔豆先生 评论:0 点击: 9,027 次

Question:

Hey guys, I've been trying to connect to an https assembla svn repository with the new xcode 4 IDE for an iPhone project I'm working on. 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"

X Code上添加SVN代码的路径之后,在Xcode上依然显示“Unable to load”这样的错误。

 

Answer:

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 LOCAL_FOLDER_PATH

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

 

这种情况往往使MAC这里的程序 吊死或者失败,这个情况下,打开 终端,运行svn checkout 命令,运行完毕后再在Xcode  Repository 上 refresh一把,就OK了

【iOS】解决方法Solution for XCode 4 Repository “Unable to load revisions”:等您坐沙发呢!

发表评论


QQ群互动

Linux系统与内核学习群:194051772

WP建站技术学习交流群:194062106

魔豆之路QR

魔豆的Linux内核之路

魔豆的Linux内核之路

优秀工程师当看优秀书籍

优秀程序员,要看优秀书!

赞助商广告

友荐云推荐