This is a mirror of official site: http://jasper-net.blogspot.com/

How to setup and use Subversion from within Xcode

| Sunday, April 25, 2010
Apple’s integrated development environment (IDE) Xcode has support for the usage of Subversion repositories to manage your source code. I won’t discuss here why you should use Subversion or any of the other types of source control tools since this is clear for most developers.

First we will have a look at how to upload a project the first time, the sample project i am using is just a template project which you can create from within Xcode, in this way you can easily follow the explanation since you can reproduce the whole tutorial yourself, however to reproduce you do need to have access to an existing Subversion repository.

So lets create a sample project, start Xcode and create a standard View-based Application (iPhone Application template), i will give the project the name SvnDemo.
Step 1: Change your project settings.

Before we can upload the source into the repository we need to make a change in the project settings. By default Xcode will create a build folder inside your project which would mean that we will also include it in the repository.

To change this select from the menu Project the Edit Project Settings option. In the General tab select the option Custom location for the Place Build Products in setting. Enter a location which is not inside your project.

Read more: Sodeso

Posted via email from jasper22's posterous

0 comments: