TOTW: Subversion & Subversion Clients for Mac
I did a little research a few months back about Subversion Clients for Mac. I ended up switching to GIT, but since I already had this post mostly finished, here's what I found. This is going to break a little from the traditional TOTW format since it's more of a sampling of a lot of different tools. I've already posted about two of these before...
What it is:
Subversion is a semi-modern version control system. As I said, Git is quickly replacing it as the "next big thing". But if you are going to do version control, and you're not doing Git, you should at least consider Subversion (and I'd stay away from CVS, it's old and borked). It allows you to "save states" of your program. So, instead of "save as" > "myProject1", then "save as" > "myProject1working" and then "myProject1tryNewThing" etc, you would just have one copy of your project/file that you "commit" to your version control. Each commit lives as it's own snapshot so that if you need to go back to another version, you just browse your history and restore that version. You can even "diff" your current version with any other older version to see what you changed if you're trying to figure out how you broke something.
When you need it:
Anytime you do any software project at all, big or small, I'd say you need version control. But here's the bullet list:
Working on a software project:
- In a group
- By yourself on one machine
- By yourself across multiple machines
- Working on an open source project to help distribute the source code
- Joining an open source project (if they don't have version control, they aren't worth joining, unless you are joining to set them up with version control
)
There's a few options out there, but no clear winner. On Windows, TortoiseSVN seems to be the clear winner, and is a great tool. Nothing stands out this way on Mac. At least nothing free. So here you'll find a list of several Subversion clients for Mac. My favorite as of this writing is Versions, but it costs $60 (there's a free 30 day trial). I recommend setting up a subversion server (either on your local machine, or corsair) and using it. Any job worth having is going to require you to use a version control system, so it's best you become familiar with one now.
Here's a question on StackOverflow discussing these plugins if you're interested in learning a little more.
Using Subversion from command line
Martin Ott's Binaries
Free Subversion Book
Versions provides a pleasant way to work with Subversion on your Mac. Whether you're a hardcore Subversion user or new to version control systems, Versions will help streamline your workflow. Versions is here now, so say hello to the fresh new look of your repository and start saying less to that command-line interface. Download the free demo to take it for a spin.
ZigVersion is an easy to use interface for Subversion, a popular open source version control system. Instead of simply reproducing the command line concepts as a graphical interface, we looked at the typical workflows of professional programmers and designed an interface around them.
Command Line Subversion Client Mac
How to install and use the Command Line Subversion Client on a Mac.
Mac Subversion Client (SCPlugin) Installation
iPhone 0S 3.0.1 not supported for development with Xcode SDK 3.0
I recently updated my iPhone from iPhone OS Version 3.0 (7A341) to iPhone OS Version 3.0.1 (7A400). When I plugged it into my Mac, I was informed that:
The version of iPhone OS on "Christopher's iPhone" does not match any of the versions of iPhone OS supported for development with this copy of Xcode. Please restore the device to a version of the OS listed below. If necessary, the latest version of Xcode is available here.
Gee... Thanks... I did a little Googling and found that after a recent security update to the iPhone OS Apple, you could no longer build/install development apps on the iPhone. Apparently Apple posted an "advisory" (in PDF format for some reason) outlining a fix for this.
Here is the fix in plain text instead of PDF (why they put this in a PDF is beyond me...):
iPhone OS 3.0.1 Advisory
iPhone OS 3.0 SDK and iPhone OS 3.0.1 software release for
Mac OS X v10.5.7
To continue development with iPhone SDK 3.0 on your iPhone, iPhone 3G and
iPhone 3GS running iPhone OS 3.0.1 will need to perform the following:
1. Log into your Mac with an Admin account and launch the Terminal application
(/Applications/Utilities)
2. Copy and paste the following line into Terminal:
ln -s /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0\ \(7A341\) /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0.1
Note: If you installed iPhone SDK 3.0 somewhere other than the default /Developer
location, replace the "/Developer" directory as appropriate.
© 2009 Apple Inc. All rights reserved. Xcode, Apple, the Apple logo, Mac, Mac OS, and Macintosh are
trademarks of Apple Inc., registered in the U.S. and other countries.
For some reason, the wonderful person who created the PDF put a hard break after the "/" right before the word "Developer". So if you actually do copy and paste the line into the terminal as they instruct, it doesn't work. However, if you copy and paste the plain text version on this page, it SHOULD work (no guarantees). If you want to copy and paste from the PDF, you will have to type everything following that "/" by hand, THEN it will work... Thanks Apple!
Here is a link to the advisory.
***UPDATE:
Several people have had to use:
ln -s /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0 /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0.1
If you found this post helpful, it was supported in part by the amazon links around the site. If you're going to buy a book anyways, why not help support this blog's author by clicking one of the links on this site to do it? If you are looking for a book on iPhone development, this one is amazing: Beginning iPhone 3 Development: Exploring the iPhone SDK





