Skip to main content

Using Fastlane in the Workflows

Appcircle supports _fastlane _for build automation as a supplementary feature to Appcircle's own build automation.

With Appcircle, you can automate your build and signing processes with the flexible workflow structure and you can also use _fastlane _as a workflow step within the build workflows.

To use fastlane, Appcircle expects the presence of a fastfile in your repository.

Adding _fastlane _to the Appcircle Build Workflow as a Step

  1. To utilize fastlane _in your builds, open the workflow editor and add the “fastlane” step after the "Git Clone" step. If you want to run a specific _fastlane _command, you can add a "Custom Script" step anywhere after the _fastlane step.
  2. Once added, click on the _fastlane _step to configure it. Fastlane is easy to use with Appcircle just with two options.
  3. The "Fastlane Directory" option is used to specify the fastfile path . If you keep your fastfile in its default location, it is automatically used without the need to change this field.
  4. With the "Fastlane Lane" option, you can specify which lane to use.
  5. Once everything is set up, press Save to save your step configuration. Then you can configure and run your build just like any other app.

Appcircle also supports building and signing the app independently with the "Build" and "Sign" steps in the workflow. These steps can be used in parallel with fastlane.

Running the Build Workflow

To run the build workflow that includes the _fastlane _step, you can start a manual build or trigger an automatic build just like a standard build.

The full output of the _fastlane _execution can be viewed in the build log in real-time or after the build.

Deploying the Build Output

You can use _fastlane _to deploy the built apps to the supported third-party services supported or you can use the Appcircle Distribute module to share the app with the testers or send it to the public app stores.