Skip to content

Building on macOS

iOS Apps

To build iOS apps on macOS, the following dependencies need to be installed:

  1. macOS 10.14 Mojave or newer
  2. Xcode 10.1+ (with Command Line Tools installed)
  3. Python 3.4+
  4. CMake 3.15.0+

Note

If you are not sure whether all of the dependencies listed above are installed, jump to the Dependency Installation Guide for iOS on macOS and follow the steps listed there.

Follow these steps to set up Boden for iOS development:

  1. Open the Terminal app and clone the git repository:

    git clone --recurse-submodules https://github.com/AshampooSystems/boden.git
    
  2. Run the boden build tool to generate an Xcode project:

    cd boden
    ./boden open -p ios
    
  3. In Xcode select the bodendemo target and press Cmd+R to build and run the example application.

Continue to Your first Boden application to learn how to create your first Boden app.

Android Apps

To build Android apps on macOS, the following dependencies need to be installed:

  1. macOS 10.14 Mojave or newer
  2. Command Line Tools
  3. OpenJDK 8
  4. Python 3.4+
  5. CMake 3.10.2+
  6. Android Studio (with Android NDK)

Note

If you are not sure whether all of the dependencies listed above are installed, jump to the Dependency Installation Guide for Android on macOS and follow the steps listed there to install them.

Follow these steps to set up Boden for Android development on the Mac:

  1. Open the terminal and clone the git repository:

    git clone --recurse-submodules https://github.com/AshampooSystems/boden.git
    
  2. Run the boden build tool to prepare an Android Studio project:

    cd boden
    ./boden open -p android
    
  3. Wait for Android Studio to finish its gradle sync and configuration, then select the bodendemo target and press Ctrl+R to build and run the example application.

Continue to Your first Boden application to learn how to create your first Boden app.

Didn't work?

Please let us know. We're happy to help!