Skip to main content

Build Configuration

Configuring a build profile requires completing some basic steps before starting a build.

Creating a configuration

You may create a configuration profile that allows you to set different certificates and distribution channels that can be used with different workflows.

  • Click on Configurations to create configurations for different scenarios.
Build Config Creation
  • Click on the New button to create your first configuration.
Build Config New

You can also create a configuration profile by uploading a saved YAML file.

  • You may change the name of the configuration or delete the ones you don't need. To do that, click on the edit button shown and the three dots on the configuration you want to edit/delete.
Build config edit

If you have a configuration that you use constantly or want to quickly copy a configuration, you can use the "Configuration Clone" feature.

The configuration clone feature will speed up your projects where you use many configurations.

First, open the configuration process by clicking the edit button.

Build config edit

Then click on the three dots next to the configuration you want to copy and click the "Clone" button in the mini window that opens.

build config clone

Another one is created identical to the configuration you want to clone.

created build config clone
info

The name here is created by adding "_copy_1" to the end of the main configuration name. For each configuration copied from now on, the name will be incremented to remain unique.

tip

Although the system gives a unique name for the copied configuration by default, you can give this configuration a new name using "Rename".

You can download your Configuration in YAML format to perform actions like sharing the settings you've configured or creating a duplicate on another Build Profile page. Follow these steps to download your Configuration:

  • Open the Configuration you've created.
  • Locate the download button positioned at the bottom left of the Configuration interface. Click on the download button.
Download Configuration

Your configuration.yaml file will be downloaded to your local system.

tip

If you intend to copy the configuration to use on the same Build Profile page, consider using the Clone Configuration step as a quicker alternative.

caution

The downloaded YAML file is specific to the project type and can only be used for configuring the same type of project. For example, a YAML file generated for an iOS Swift project cannot be applied to an Android React Native project. Ensure that you use the correct YAML file for seamless configuration.

Config Details

Every build profile needs to know project details regardless of whether the project is an iOS or Android project. Project details can be entered manually or can be fetched from your project automatically by Appcircle if you click on Autofill button.

You can also select your self-hosted runner from the SELECT A POOL dropdown.

File Icon

Self-hosted Runners

Pool Selection

Build Priority

The build priority configuration feature has three levels: Low, Medium, and High.

These priority levels determine the order in which queued builds start, ensuring that higher-priority builds are initiated first.

For example, if a high-priority build is added to the queue after a low-priority build, the high-priority build will start before the low-priority one.

This feature allows for better management of build processes, enabling teams to prioritize critical updates and improvements efficiently.

Build Priority
info

This feature is only available for organizations with Enterprise license.

Signing configuration

Both iOS and Android applications need to be digitally signed by their developers in order to be able to be installed on real devices or submitted to app stores.

iOS certificates and Android keystores can be generated within Appcircle, or pre-obtained certificates can be uploaded. iOS provisioning profiles need to be obtained from the Apple Developer account and uploaded to Appcircle.

Screenshot
info

Please note that the Automatic Code Signing option is only available for iOS projects.

You can either upload your iOS certificate and iOS provisioning profile or Android Keystore from here or within the Signing Identities module.

Distribution configuration

Set up automated distribution for your builds by configuring distribution settings in Appcircle. This feature allows you to automatically send completed builds to selected modules, including Testing Distribution, Publish, or the Enterprise Store, ensuring a seamless deployment process.

Simply enable the toggle of the module that you need and select the required profiles.

Send to Testing Distribution

Distribution configuration allows you to set which testing groups will receive your application after the build is complete. You can manually submit your binary to Testing Distribution profiles, or Appcircle can do it for you.

In this window, you can select one or more of the previously created distribution profiles. You can use the "Manage Distribution Profiles" button above to quickly manage distribution profiles.

Finally, check "Automatically Distribute to Testers" if you want your build to be automatically distributed to the selected testers or testing groups.

Screenshot

Send to Publish

Enabling "Automatically Distribute to Publish" will display the available Publish profiles for distribution.

Screenshot

Simply select your relevant publish profiles, and Appcircle will automatically send your builds to the selected publish profiles.

Please note that the publish profiles should be created within the publish module prior to configuring the distribution settings in the build profile.

Send to Enterprise App Store

  • Navigate to the configuration, then go to the Distribution tab, and ensure that Automatically Distribute to Enterprise App Store is enabled.
Screenshot
info

If you are building a binary for the first time or distributing it to the Enterprise App Store for the first time, a new Enterprise App Store profile will be created automatically. If there is an existing Enterprise App Store profile for your build, it will be directed to the existing profile.

Versioning configuration

You can set custom rules to manage the versioning of your app. You can increase both the build number and version number according to the rules you set.

Screenshot

For more information please refer to the Versioning documentation.

Environment variables configuration

You can define variables and secrets to be incorporated during the build in the Environment Variables submodule so that you don't need to store certain keys and configurations within the repository.

Screenshot

For more information regarding creating environment variables for build profiles, please refer to the related Environment Variables documentation.