Posts

Showing posts with the label Xcode

Create a Subversion with Xcode 4

Image
Hi everybody, I just started to work with Xcode and trying to add a Subversion folder was a pain. So I decided to write about it and describe all the steps in order to help other people who have to set up a Subversion in Xcode. Note that if you don’t have any Subversion software or package installed on your Mac you can download the free Subversion Mac OS X package . STEP 1: Open Xcode and click Connect to a repository. STEP 2: Enter the location path of your Subversion file. Example: https://66.127.107.22:8444/svn/test - if your Subversion is on a Microsoft server you will notice that Xcode will tell you that the “Host is not reachable.” That is because Mac OS doesn’t recognize IP addresses from Microsoft devices. You have to give a name to the IP address. For that, we need to change the host file on your computer. So open the terminal and type : sudo nano /private/etc/host It will ask you your password. Now you’re at the file. You can see that there i...

Configuring Xcode to use Subversion

Image
Whether you are a new Apple developer or an experienced Cocoa engineer with roots in NeXTStep,  you will understand the need to back up your hard work. Integrating Xcode with subversion not only allows you to back up your code, but it also enables you to keep a history of changes that you can revert back to or compare your code against. This is called version control. This article assumes that you already have your own subversion repository that you have read and write access to. If you want to setup a subversion server of your own, I suggest consulting the almighty google for a wide range of articles on how to accomplish this task. Read on for screenshots, details and lots of fun. Step 1) Tell Xcode about your repository.      Xcode has the ability to communicate with subversion using native svn communication, ssh+svn, http and https. The most popular of the various methods is https which allows you to save your data over an enc...