Flutter Build for iOS
This step makes your Flutter project suitable for the iOS environment and builds it using the Flutter SDK.
Prerequisites
Before running the Flutter Build for iOS step, you must complete certain prerequisites, as detailed in the table below:
Prerequisite Workflow Step | Description |
---|---|
Git Clone | This step will clone your project through the connected Git provider and create the $AC_REPOSITORY_DIR variable. |
Flutter Install | This step will install the Flutter SDK. If a version is not specified, it will install the latest stable version. The Flutter SDK package must be installed on the system. For this reason, make sure that Flutter Build for iOS is used after the Flutter Install. |
Once you have compiled your app for Flutter iOS, the native environment will be built. For this reason, this step should be used before the Xcodebuild for Devices step.
Keep in mind that this step is dependent on the Flutter Install step. If Flutter is not installed on the system, it will give a Flutter SDK not found error.
Input Variables
This step contains some input variable(s). It needs these variable(s) to work. The table below gives explanation for this variable(s).
Variable Name | Description | Status |
---|---|---|
$AC_FLUTTER_PROJECT_PATH | This parameter is used as the repository path. This path is created immediately after the Git Clone step. If the Git Clone step is not used, this path cannot be found. | Required |
$AC_FLUTTER_BUILD_MODE | With this variable, you can add the mode you want to build in the build command. For example: release . | Required |
$AC_FLUTTER_BUILD_EXTRA_ARGS | You can use this parameter if you want to add an extra parameter to the build command line. | Optional |
To access the source code of this component, please use the following link: