Subversions is of course the awesome Open Source file versioning system. Xcode is the Objective-C developing environment for Mac / iPhone apps. Xcode 3 now supports access to Subversions Repositories.
How To Connect Subversions to Xcode
You must already have Subversions setup on a server / your local machine / or on a 3rd party hosted Subversion service.
1. Open Xcode
2. Click SCM
3. Click Configure SCM Repositories
4. Enter the Repository name you wish to connect to.
5. Enter the name of the Repository you want to connect to.
6. Select Subversions from the drop down.
7. Enter the URL to the SVN (I use SVN+SSH): SVN+SSH://firstname.lastname@example.org/path/to/repo
8. Enter the username
9. Enter the password
10. Click Apply
Xcode should now attempt to connect to your SVN Repo. Once it shows authenticated click OK.
Now one thing to note, you must import the repo into the svn server first, Xcode cannot do this for you. I use Versions to do this, but you could use svnX, Cornerstone or the CMD Line.
Here is the CMD Line code needed to import the repo to SVN: $ svn import -m “Initial import” localpath subversionpath
The last thing you need to down now is download a working copy. You will use the working copy in Xcode, the files you used when importing shouldn’t be used. Subversion modifies the files once they are imported so it can keep track of the changes.
Matt is an Internet Specialist for a multinational franchise. Matt has lived and worked in Hawaii, Chicago, South Florida and currently resides outside of Atlanta. He enjoys his hobbies including: Fountain Pens, Wetshaving, Clocks, Antiques & Coffee. He even roasts his own coffee weekly.