she swears <i>geek</i> is a term of endearment

Subversion (SVN) Integration with XCode

This is specifically for the developer who wants to get source control going quickly as well as to instruct a colleague on how to jump onto a project without excessive ceremony.  I’m going to skip the part about associating the project with SVN in the first place, importing the project initially, etc.  The project has to be imported into SVN before you can then check it back out and work subversively.  I’ll assume you can figure out how to add a directory to Svn using the command line.  The basics (and then some) are covered on Subversion with XCode on Apple

 

Open XCODE and Configure SCM with Subversion

a picture says a thousand words…

SCM-Configure-Repos

Add a Repository

Click the "+" to add a repository

Svn-Repos-Screen

Give it a name so you can tell it apart from the Skynet alpha Svn repository

New-Repos

Configure your Svn

Svn-Repos_details

Click "OK"

Checkout your XCode Project Structure

Svn-choose-repos

Navigate to the root of the Code project and "Check Out"

SVN-Checkout-1

Navigate to an appropriate project location on your file system.

Svn-Checkout

An alert will indicate that it is complete
Choose "Open xxx.xcodeproj"

 

Use integrated SCM with SVN

If the project was previously associated with SCM, you can skip this step.  In other words, if you cange a file and an "M" shows up next to it, you’re done.

Otherwise, Choose Project > Edit Project Settings

Edit-Project-Settings

Near the bottom, choose your repository for SCM

SVN-Associate-Project

Leave a Reply