-
-
Notifications
You must be signed in to change notification settings - Fork 376
Support is tested on Mac OS X 10.7 (Lion) and greater, though Mac OS X 10.6 (Snow Leopard) should be compatible.
You need a recent version of Xcode installed, which you can download from the Mac App Store. You should not have to install the Xcode command-line tools to use the Mac target. If you do, please report this as a bug.
Targeting Mac, you can choose either C++ or Neko. Using C++ will be best for performance, and is recommended when making releases as well as performance testing. Neko is valuable because it compiles almost instantly, which is valuable during development, and since it is a virtual machine it can sometimes provide a stack trace where native C++ may hard crash (such as a NULL pointer exception).
Theoretically, Neko could also be used for cross-desktop builds (such as Mac from Windows) but there are some minor issues that would need to be resolved for Neko to find its library dependencies.
Lime supports both 32- and 64-bit builds for Mac, and will use the host architecture of your system by default. Practically, this usually means that Lime will be using 64-bit, which is all that current Mac OS X versions support.
We use SDL 2 to handle windowing, events and input on Windows, and OpenAL-Soft for audio. Other dependencies include libjpeg, libpng, Freetype and cURL.
Although applications should be compatible with the Mac App Store, our tools do not automate the signing required for submission. We may choose to support this in the future (though it can certainly be done by hand right now). Mac retina support was not available in SDL 2.0.0, but in the future we want to update to the recent 2.0.1 release and enable support.
You can use "mac" as the target when using "lime" commands:
lime test mac
This will use C++ by default. You can target Neko using the "-neko" flag:
lime test mac -neko