Configuring Your SVN Repository in Xcode (Snow Leopard)
So earlier tonight I finally decided to take a stab at SVN and being a mac user, SVN through Xcode seemed to be the best (free) choice.
In order to use SVN in Xcode you need to configure a few things. This tutorial will only be for the newest version of Xcode, which runs on Snow Leopard.
Step One: Configure your SVN repository
Once you open Xcode on the menu-bar click on SCM > Configure SCM Repositories… A window will pop-up. Add a new repository by clicking on the plus (+) in the lower left corner of the window. Now you can name it and input all the vital information that is needed to set up your repository (which you should have).
Step Two: Open your repository and download your projects
Now that you have configured your repository go back to SCM on your menu bar and now click on Repositories. It will open a window with your newly configured repository. Click on your repository and it will log you in automatically (assuming your information is correct). Now you have access to your Branches, Tags and Trunk. You can download any of these by clicking on the folder (or clicking on the entire repository – recommended) and clicking “Checkout”. This will open a window asking where you would like to save it on your computer. Once you’ve saved your project onto your computer, open it in Xcode.
Step Three: Configure those projects for SVN
On the menu-bar click on SCM > Configure SCM For This Project… It will open a window. In the upper right hand corner there is a button called “Configure Roots & SCM”. It will open another new window. In this window there are couple things you need to change. First, make sure that the option in the upper right hand corner is on “Subversion” and Secondly, under the Repository heading, change it to your configured repository.
Now if you go back to the menu-bar and look under SCM you will find a bunch of options for committing and updating your repository with whatever changes you make to your code.
Now you are all set to use SVN in Xcode. Please note that if you start or download a new project you will need to do Step Three again for that new project.
First Post
This is the first post on my new blog Invincibly Ignorant. I will be using this blog to post stuff concerning OOP344 as well as any other things that I find worth posting.
By the way: I just found out that the cake is not a lie. Phew!




