Oh! Apple

My experience of using iPod Touch, iPod Classics, Mac OSX, Coding in XCode, or anything generally related to Apple

Sunday, May 10, 2009

Setting up Subversion for iPhone Development

After spending so much time on TDD, I simply won't feel comfortable start doing development unless a proper version control and unit testing environment has been set up. So, first thing first, I started working on setting up Subversion.

Since I love my development environment to be as portable as possible. I put the subversion on my removable harddisk, created a batch file so that I can start subversion by simply running the bat file. Notice that I always have my portable harddisk mapped to certain drive, so the batch file should work most of the time.

Setting up Subversion was very easy by following this article. (By the way, this article seems pretty nice too. Also as newbie, read this too.) I played around and found that the Trunk, Branches and Tags directories was not automatically created. So after reading this eBook, I created the files.

Now it's time to check in files from XCode. So I read this instruction, and then checked in. All seemed very stright forward.

Next stop: Unit Testing.

So I followed the instruction provided by this blog. And boom, I have a unit test created, and even checked into Source Control.

Internet is awesome.

0 Comments:

Post a Comment

<< Home