Building on macOS¶
iOS Apps¶
To build iOS apps on macOS, the following dependencies need to be installed:
- macOS 10.14 Mojave or newer
- Xcode 10.1+ (with Command Line Tools installed)
- Python 3.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:
-
Open the Terminal app and clone the git repository:
git clone --recurse-submodules https://github.com/AshampooSystems/boden.git
-
Run the
boden
build tool to generate an Xcode project:cd boden ./boden open -p ios
-
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:
- macOS 10.14 Mojave or newer
- Command Line Tools
- OpenJDK 8
- Python 3.4+
- CMake 3.10.2+
- 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:
-
Open the terminal and clone the git repository:
git clone --recurse-submodules https://github.com/AshampooSystems/boden.git
-
Run the
boden
build tool to prepare an Android Studio project:cd boden ./boden open -p android
-
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!