Archive

Posts Tagged ‘svn’

Xcode SCM / SVN Version Woes Solved!

March 4th, 2011 No comments

Up till now I’ve just been zipping my progress of builds.

A few days ago I setup a working SVN repository on my linux system. Yes I like using CVS but gave up on it due to the hassle of command line checkin/checkout so I decided to setup Xcode to use a SCM SVN repository. (SCM = Source Code Management)

I was able to use SVN from the command line without Issues, but it kept appearing that SVN was broken in Xcode.  No files ended up with ? or M for modified. I had no context menu offering “Add to repository”

Error 15000′s and others errors too.

Well I solved those problems.

Projects > Edit Project Settings  -> Click on “Configure Roots & SCM”

This looks correct to me, but evidently for SVN it is not;

Incorrect Settings

It looks right to me, but was not for setting up Xcode with SCM

This results in this Error 150000. The hint here is in the tacked on extra Part to the project I am working on.

I found out when experimenting with “Versions” that the correct setting is as follows;

 

Yup thats right, leave the Root field empty! So it reads <Project File Directory>

I don’t claim to know a lot about SVN in particular, so maybe to some other developers this may be a “Doh!” kind of thing.  Coming from the Systems Administration Unix world, it made sense to me to have the Project Name there.

Onward and Upward.  I’m excited to have figured this out..  I hope it all works for you too…

Applies to XCode Version 3.2.5

 

eSpecialized Blog is using WP-Gravatar

Page optimized by WP Minify WordPress Plugin