Jul 28, 2011

XCode and SVN - Unable to load revisions

Posted Jul 28, 2011
There's a weird bug happening in XCode when I add a repository (File -> Source Control -> Repositories...).  I tried other credentials and I'm able to get the revisions, but every time I added mine, I just can't access the SVN even if I supplied the correct username and password. It just keeps telling me "Unable to load revisions"

I even tried removing and adding the repository and account details to no avail.  At first I thought my access was blocked turned out that XCode is using the wrong cache to authenticate itself.

The Solution (or rather workaround)
Go to Terminal and type:
svn checkout [svn_server_path] [local_path] --username [username]

svn checkout svn:// ./sampletemp --username mvergel

It will then ask for your password. Supply the correct one and continue to check out the contents.

After this process, your XCode repository should now be okay. If it's not, try to restart XCode.

No comments:

Post a Comment