Subversion with XCode Projects

I found it pretty odd that I couldn’t get Subversion working with my XCode projects out of the box, considering that Apple includes svn with Leopard. I kept getting errors saying that parts of my project did not include a working admin area in my build directory. I was able to find the solution at Rogue Amoeba.

In order to fix this problem you need to edit your ~/.subversion/config file and include/uncomment these lines.

[miscellany]


global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store *.pbxuser build


enable-auto-props = yes

[auto-props]


*.pbxuser = svn:mime-type=application/octet-stream

After I did that Subversion seems to be working just fine with my XCode projects inside XCode and from the terminal. Perhaps the Versions people could create an option to set this for you?

Posted by: Collin

June 24, 2008 @ 11:12 am | Filed under: Coding, Development

Post a Comment!

* required

WP-Highlight