Sunday, November 07, 2010

Out-Of-Scope, or is it?

It drove me nuts the other day, but seems to be right, you only need to know why.

To make it short, always remember your-self ;)

Subversion 1,2,3

Since Apple moved some of its docs and I hadn't copied my settings of Xcode over to the new computer I just had to spent 20 minutes surfing to find everything again on how to setup Xcode with the local svn.

Actually it's easy:

1. Create a local repository: svnadmin create ./myrepository
2. In Xcode: SCM->Repositories->Add:
- Name: Local
- Scheme: file
- Path: Path to myrepository
3. Import your files to svn through the SCM window, remove them from your harddrive and check them out again
4. (yeah, I said 1,2,3, sorry, but it's already working so this is more for fun) Set the build directory some place else in the project info window, so that the build files don't bloat up you svn