At SCADE, we are working on streamlining the installation over the next couple of versions. Thanks to all that provided valuable feedback. Given a fast internet connection, installation should not take longer than 10 minutes. Please find the instructions below
Lastest installation changes
- Installation of Java on the Mac no longer necessary
- AutoUpdate was faulty in 0.9.12 and fixed in version 0.9.13.0
SCADE 1.0 is supporting the following versions
- Swift 4.2 on iOS, Swift 4.2 on Android
- iOS X 10.13 and greater
- Android 5.0 and greater
- OS requirement : Swift, and therefore SCADE, requires OSX version 10.13 or higher
- XCode 10 including Swift 4.2 is installed on the machine
- Android NDK R11c up to release 17
- Android SDK 24.4.1 or higher
- Harddisk space: You need about 800 MB of harddisk space
SCADE uses the following parts of Android Studio
- the Android SDK
- the Android NDK
(optionally) the Android Simulator to run Android binaries
If you haven't previously installed Android Studio, we recommend to install it now.
Download and install Android Studio here https://developer.android.com/studio/#downloads
- Start Android Studio, open any project or create new empty project
- Select Tools → SDK Manager in the main menu
- In the SDK Platforms tab, select the following components:
- Android 6.0
- In the SDK Tools tab, select the followin components:
- Android SDK Platform-Tools
- Android SDK Tools
- Google Play services
- Support Repository / Google Repository
- Click Apply and wait for selected components to be installed
Android SDK will be installed in the <UserHome>/Android/Library/sdk directory
Android NDK will be installed in the <UserHome>/Android/Library/sdk/ndk-bundle
Install Android NDK v17
SCADE supports Android NDK v17 and lower at the moment. The current version of Android Studio comes with a different version. Please install Android NDK v17 following these steps
- Download NDK here https://dl.google.com/android/repository/android-ndk-r17c-darwin-x86_64.zip
- Extract the NDK to a directory of your choice. I choose /Users/<myuser>/android-ndk-r17c.
- We use /Users/flangel/android-ndk-r17c in this example
Especially if you have multiple versions of Xcode installed, its critical that you are using the correct version. Doublecheck using these commands
- swift -version
- xcrun swift -version
All these commands should point to Swift 4.2
If this doesn't result in Swift 4.2 option, try setting the command line tools Command Line Tools Setup
- Download SCADE here www.scade.io/download/
- If your Mac did not automatically unzip the zip file, doubleclick to open the archive
- Scade.dmg becomes available in your folder
- Double click on Scade.dmg
- The Install dialog opens. Drag and drop Scade into the Applications folder
- Confirm that you want to overwrite any content
- Run SCADE from your applications directory
You find SCADE using Command + Space and searching for SCADE
or through your Applications Directory. Start it
- When you start SCADE for the very first time, you need to confirm this dialog
You will now be asked to provide a workspace folder. The workspace folder will contain the following assets:
- SCADE projects
- SCADE SDK and binary built during compilation process
Choose a good workspace location
Please make sure that the workspace location you choose is OUTSIDE of the directory where SCADE resides. In this way, you can update the software without impacting your work.
The following settings make it possible to compile to Android. Without the settings, you will be able to develop and run on iOS and in our SCADE simulator, but not be able to compile to Android.
Open the preferences settings
and configure the paths. When you press the apply button, we do check the validity of the path.
Here are the default directories from the above installation steps:
The following settings make it possible to compile to iOS. Without the settings, you will be able to develop and run on iOS and in our SCADE simulator, but not be able to compile to iOS.
Apple requires two different files for compiling apps
- a certificate file for signing the app, for instance cert.p12
- a mobile provision file prov.mobileprovisioning
You need to specify the location of these files in the build file of your app.
- Open the build file <YourApp>.build that can be found in the root directory of your project
- Scroll to the codeSignSettings section at the end of the file
- Modify the entries as shown below to reflect the location of your files
The certificate needs to be part of the keychain. Double click on it and make sure its part of your keychain:
Certificates can be password protected. Currently, we don't support password protected certificates, but will add this feature in the future.
Sometime the command line tools use the wrong version.
- Run XCode 10.x
- Set Command Line Tools to use 10.x