Ian Burgmyer 648018bfcb Updated Xcode project for the v2.91g build. (#148) | 6 years ago | |
---|---|---|
.. | ||
MZXRun | 6 years ago | |
MegaZeux | 6 years ago | |
MegaZeux.xcodeproj | 6 years ago | |
Ogg.framework | 7 years ago | |
SDL2.framework | 7 years ago | |
Vorbis.framework | 7 years ago | |
libpng.framework | 7 years ago | |
README.md | 7 years ago | |
config.h | 6 years ago | |
update_version.sh | 6 years ago |
The process of building MegaZeux using Xcode should be fairly straightforward and mostly painless. All required third-party frameworks are prebuilt and provided in the distribution for ease of use.
The following steps should produce a usable binary:
That will generate a debug build. To generate a release build, either build an archive (Product > Archive) and export the app bundle (recommended) or edit the Run scheme (Cmd+Shift+, or Product > Scheme > Edit Scheme...) and change the build configuration in the Info tab.
To change the build features, modify config.h. Please note that changing certain features, such as the module playback engine, will require additional files to be added to the project. The required modules can be found in the Makefile.in files in the src/ directory.
At this time, MegaZeux has been successfully built using Xcode 9.1 on a system running macOS 10.13. The resulting binary has been tested on OS X 10.7 and macOS 10.13, though it should work on versions as low as OS X 10.6.