Skip to main content

Flutter Build for iOS

This step makes your Flutter project suitable for the iOS environment and builds it using the Flutter SDK.

Prerequisites

caution

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.

Prerequisite Workflow StepDescription
Git CloneThis step will clone your project through the connected Git provider and create the $AC_REPOSITORY_DIR variable.
Flutter InstallThis 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.
warning

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

The parameters required for this step to work are given in the table below with explanations.

Variable NameDescriptionStatus
$AC_FLUTTER_PROJECT_PATHThis 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_MODEWith this variable, you can add the mode you want to build in the build command. For example: release.Required
$AC_FLUTTER_BUILD_EXTRA_ARGSYou 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:

Preview of GitHub - appcircleio/appcircle-ios-flutter-build-component