Command Line Interface (CLI)
SCADE Command Line Interface for compiling SCADE projects without the UI
Compile Swift projects to Android and iOS using the command line
Path to scd in Scade.app:
/Applications/Scade.app/Contents/Plugins/ScadeSDK.plugin/Contents/Resources/Libraries/ScadeSDK/bin/macos-x86_64/scd
Information: scd build --help
Usage: scd build --name [--path ] [--output ] [--target ] [--settings ]
Targets: macos (default), iphonesimulator, iphoneos, android-x86_64, android-armeabi-v7a
Example of settings.yaml file:
scade.toolchain: /Applications/Scade.app/Contents/Plugins/ScadeSDK.plugin/Contents/Resources/Libraries/ScadeSDK
android.toolchain:
compiler: /Applications/Scade.app/Contents/Plugins/ScadeSDK.plugin/Contents/Resources/Libraries/scade-swift-android
ndk: <path_to_ndk>
sdk: <path_to_sdk>
jdk: /Applications/Android Studio.app/Contents/jre/Contents/Home
Command should be run from project folder
Example of the command:
/Applications/Scade.app/Contents/Plugins/ScadeSDK.plugin/Contents/Resources/Libraries/ScadeSDK/bin/macos-x86_64/scd build --name <name> --target <target> --settings <settings.yaml>
Updated about 3 years ago