Technical Documentation

macOS

Last Updated: October 21, 20241.6 min read

Overview

MacOS compilation is currently split into two different Xcode projects:
  • “Native” MacOS (typically compiled from a folder named IntermediateMacOS)

Dependencies

Automatic Script

Shell Script

The Code/Setup.sh shell script automates the first setup on MacOS. You can expect it to:
  1. Automatically invoke CMake to generate the MacOS Xcode project
  2. Install the Project System
  3. Reconcile Engine Dependencies
    1. This effectively compiles engine assets that Sceneri relies on to start.
  4. Automatically invoke CMake to generate the Mac Catalyst Xcode project
  5. Build the Sceneri Mac Catalyst Editor
  6. Start the newly compiled Sceneri Editor

Manual

Building the Native MacOS project

  • Open the CMake app
  • Enter the source code directory in the top section, and the target intermediate directory below:
  • Press Generate.
  • Use the default native compilers, and then press Done.
  • After the project has finished generating, press Open Project.
  • You should now be greeted by the project:
  • The currently supported target types are My Mac, which indicates that we are building a native MacOS application.

Building the iOS project

We use the same Xcode project to build for iOS. To build for either, follow this guide.