Skip to content

Latest commit

 

History

History

ZillaLib-OSX.xcodeproj

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

ZillaLib on Mac OS X

Setup

You need a running Mac OS X system (on real hardware or in a virtual machine) with the Apple development suite Xcode installed.
Only the newest Xcode version (requiring the latest OS X version) can be installed from inside the Mac App Store but you can get any old version from the Apple Developer Download site.
See Xcode on Wikipedia for which version runs on which OS.

ZillaLib should build with fairly old Xcode versions (3.2) but 5.1.1 or higher is recommended.

Projects for ZillaLib have defaults set to build to run on Mac OS X 10.5 and higher.

Building

Open your game projects OSX Xcode project file and build it. It will automatically build the library alongside the game on the first time compiling. From within Xcode you can directly play and debug the game.

Make sure to have the correct scheme of your game set before building/running with the scheme selector on the top of the Xcode window.

Its easiest to hide the library scheme from the scheme selection in the scheme manager. To do this click the Product menu, Scheme, and then "Manage Schemes...". In there, disable the Show flag of the ZillaLib scheme. This only needs to be done once per OS X user and is kept across projects.

Building from a terminal

Open a terminal and change the directory to your game project, then run the following command for further instructions:

make osx-help

With the various make targets you can build debug and release executables, run them normally or with the lldb command line debugger.