Go to file
Tobias Birmili e9c6a66b63 Update README.md 2012-11-02 10:44:08 +01:00
English.lproj fix application name in the main menu 2011-09-01 16:41:27 +02:00
include Added support for building recent delta with gettext 2011-07-20 20:59:05 +02:00
lib Upgrade to build minetest 0.4dev 2011-11-30 01:29:36 +01:00
minetest-mac.xcodeproj Update to build 0.4.dev-20120122-1-18-g993821a 2012-02-20 13:10:47 +01:00
.gitignore Upgrade to build minetest 0.4dev 2011-11-30 01:29:36 +01:00
Info.plist updated to build recent minetest-c55 2011-07-30 00:27:27 +02:00
README.md Update README.md 2012-11-02 10:44:08 +01:00
minetest-mac.sh updated to build recent minetest-c55 2011-07-30 00:27:27 +02:00
minetest.icns added app icon and cleaned up Xcode project 2011-07-20 17:41:17 +02:00

README.md

Xcode project to build minetest

Discontinued. The alternative is: https://github.com/toabi/minetest/tree/cmake-osx

This doesn't work anymore with recent minetest versions.

This Xcode project can be used to build minetest-c55.

Fore more information have a look the official homepage.

Requirements

This was tested on OS X 10.7 with Xcode 4. It includes all needed 3rd party libraries. It builds a 32bit 10.6 compatible application bundle.

Somebody also reported that he was able to build it with Xcode 3.2.5 under 10.6 using the debugging build settings from the commandline.

How to build minetest

Getting the code

$ git clone https://github.com/celeron55/minetest.git
$ cd minetest
$ git clone https://github.com/toabi/minetest-mac.git
$ cd minetest-mac

There are now two easy ways to get your app. The final product always ends up in ./build/(Release|Debug)/.

Commandline

Build for debugging

You probably don't care about correctly set version information and stuff while coding. So just run xcodebuild -target "App Bundle" in the minetest-mac folder.

Building for release

xcodebuild -target "Release Bundle"

The release version is not very different to the above 'App Bundle'. The important difference is, that it contains the proper version strings everywhere. It's set up to work on my machine so you may have to modify some build settings in Xcode:

It uses git describe --tags to get the version. So the minetest code should reside in a git repository. If your git doesn't live in /usr/local/bin/ you have to modify the 'Version from git' target in the build settings.

Xcode GUI

  • Doubleclick the .xcodeproj
  • Hit "Build & Run"
  • If everything is OK, the application should launch.

Targets and Schemes

When developing, use the Debug scheme. It just builds the application bundle and doesn't do other magic. Therefore only changed files are recompiled.

When releasing an application bundle then use the Release scheme. It will automatically update the VERSION_STRING with the output of git describe and also write the version into the Info.plist so the Finder can display it.

So you don't like to build?

You can also download a build from there. But they may be old.

Credits

I'm distributing the binary Irrlicht framework release from this thread.