SCADE

The Build File

Configuring the build file

The build file controls building the following targets

  • Simulator (SCADE, iOS and Android
  • Device binaries (iOS and Android)

Setting Debug and Release Mode

You set the compilation mode using the buildType attribute. It has two values

  • Release - APK or IPA is compiled in release mode.
  • Debug - APK or IPA is compiled in debug mode.

You set the compilation mode for each target individually, Android x86, Android ARM and iOS

Target
buildType

iOS Simulator

"output" : "m1/.build/ios-simulator",
"arch" : "x86",
"buildType" : "Release",

iOS Device

"output" : "m1/.build/ios-device",
"buildType" : "Release"

Android Device x86

"output" : "m1/.build/android-x86",
"arch" : "x86",
"buildType" : "Release"

Android Device Arm

"output" : "m1/.build/android-armeabi-v7a",
"buildType" : "Debug"

Some build files don't have the "buildType" attribute, so please simply add it.