Using Subversion with Xcode 3 - automated script

by 4. March 2011 11:11

The following link explains how to prepare your SVN repository for use by Xcode 3:

http://developer.apple.com/library/mac/#featuredarticles/SubversionXcode3

Where there aren't a lot of steps to setting up SVN to work with Xcode, it is far more than I'm use to so I created a script - now I can simply click on a desktop link and use GUI tools to get a new Xcode project hooked up with SCM (Source Code Management) within a few minutes.  The script follows:

makescm (1.89 kb)

When you launch the script from your desktop you will be prompted for the name, i.e., MyProject (highlighted below).  If you type in a name that already exists (DevUtil) then you will be prompted to overwrite.   After hitting enter you will be greated with the options to create the repository for the project or to abort - input 1 to create.

Once created go to "Using Subversion from Xcode" (in link referenced above) which is just above Figure 10 and comply with the steps.   If you encounter an error 210002 while complying with the steps in figure 11 then you'll want to read THIS BLOG for the work-around.

Recommended reading

Tags: , ,

XCode | Mac X

Notice

Blog videos and references to CodePlex projects are no longer valid