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…
Add a Repository
Click the "+" to add a repository
Give it a name so you can tell it apart from the Skynet alpha Svn repository
Configure your Svn
Click "OK"
Checkout your XCode Project Structure
Navigate to the root of the Code project and "Check Out"
Navigate to an appropriate project location on your file system.
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
Near the bottom, choose your repository for SCM
Leave a Reply