Skip to content

Compiling OTServ under OSX with XCode

hjnilsson edited this page Aug 4, 2012 · 2 revisions

Prerequisites

First you need to download XCode from the App Store: http://itunes.apple.com/se/app/xcode/id497799835?l=en&mt=12

Cloning the git repository

Open up the terminal and enter the following to clone the OpenTibia git repository.

mkdir opentibia
cd opentibia
git clone [email protected]:opentibia/server.git

This will download the latest available master and place it in your home folder in the directory opentibia/server.

Downloading dependencies

Now you need to download the additional libraries that OT requires. These can be found here: https://github.com/downloads/opentibia/server/ots-deps-xcode-4.4.zip

Once the download is complete, extract it in your opentibia/server/deps directory. Which should then contain one folder called include and one called xcode.

Compiling

In your opentibia/server folder. Go to projects/xcode and open Open Tibia Server.xcodeproj. This should open XCode.

Images/ots-in-xcode.png

Once done, just hit the Run button to compile and run OpenTibia.

Clone this wiki locally