Skip to content

Developer: Compiling in OSX XCode

Patrick McFern edited this page Mar 21, 2015 · 1 revision

What you'll need

The SDL frameworks belong in /Library/Frameworks or <YourHome>/Library/Frameworks

Xcode configuration

Build Phase > Link Binary With Libraries

Cocoa.framework
SDL.framework
SDL_image.framework
SDL_mixer.framework
SDL_ttf.framework

Build Phase > Copy Bundle Resources

images .. in <your-git-checkout>
fonts .. in <your-git-checkout>
music .. in <your-git-checkout>
levels .. in <your-git-checkout>

Apple LLVM 6.0 - Language - C++

C++ Language Dialect: GNU++11
C++ Standard Library: libc++ 

Apple LLVM 6.0 - Language - Objective-C

Objective-C Automatic Reference Counting: NO

Help, something's not working!

Most of the set up required is not specific to our game. If you get stuck, there are many guides online to step you through the process of setting up SDL and Xcode.

Clone this wiki locally