Mac OS X Compile Guide
Table of Contents
This guide is for compiling the current master for earlier versions see:
Obtain Xcode
Obtain Xcode from the Apple developer website (free account required).
You will need Xcode version:
- 3.2+ Running on at least 10.6
- 4.0+ Running on at least 10.6 (Additionally you will need to install the 10.5 SDK and restore PPC builds see this guide for details on doing that. If you are on 10.7 you will need to also see the guide for installing xcode 3.2.6 on 10.7.)
Get Git
Note: Xcode 4.0+ comes with git though you may still want to install a more recent version through other means.
The easiest way to get Git is through MacPorts. (If you have fink you can use it instead.) Once MacPorts is installed open Terminal.app and run:
sudo port install git
Note: If you are interested in contributing please read the Commit Guidelines; also you may want to consider a gui, I recommend GitX.
Build
Once you have Xcode and git installed, download OneStepWZMasterBuild and put it in the folder where you want the warzone source to be downloaded. Then, run the script; this will download the source and build a release version of master.
The outputted .app file will be placed:
~/Applications
Old copies will be moved to the trash.
Dealing with Errors
If there are any errors during the build this line will be printed before exiting
The build has failed with the preceding error.
Be sure note the error and report it if it still happens after trying a second time.
Additional Notes
You must have a Gettext binary installed for translations to be added to the .app; it will attempt to use one that you already have or provide you with one if it can but it is not necessary for warzone to function.
Be patient the first time you run Warzone; it may take a minute or two to start up.
Compiling a debug version instead of a release version will produce a more detailed debug log; to do this just open Warzone.xcodeproj and build from Xcode.
Attachments
- OneStepWZMasterBuild.zip (1.4 KB) - added by dak180 13 months ago.
