Skip to main content

Tuist Commands

Tuist Commands component is a component where you can run Tuist specific commands using the Tuist CLI.

You can seamlessly integrate Tuist Commands into your workflow with Appcircle, making setup and utilization within your existing development processes easy.

Prerequisites

Before you run the Tuist Commands step, you must complete certain prerequisites, as detailed in the table below:

Prerequisite Workflow StepDescription
Git CloneYou need to clone the repository to start the Tuist Commands process. After cloning, it creates the AC_REPOSITORY_DIR variable, and the system is able to run the Tuist Commands.
Tuist InstallYou need to install the Tuist to start the Tuist Commands process.
Tuist Commands

Tuist must be installed in order to use the Tuist Commands component. Tuist is a tool that can execute many Xcode commands on its own. For this reason, when certain commands are used, Appcircle's other iOS specific components will not be needed. For example, Workflow will no longer need the Xcodebuild for devices step when using the tuist build command.

The same applies to the tuist test command. For example, if you run your tests with tuist test command, you will not need Xcodebuild for Unit and UI Testing and Xcodebuild for Testing steps in the workflow.

For more information about Tuist CLI Commands, please visit the Tuist CLI documentation.

Screenshot

Input Variables

You can find all the parameters required for this step in the table below, with their descriptions in detail.

Screenshot
Variable NameDescriptionStatus
$AC_TUIST_PATHSpecifies the path to the directory containing the project definition. This path is automatically generated after the Git Clone step.Required
$AC_TUIST_COMMANDSSpecifies the Tuist Commands to be able to run specific Tuist Commands. For example; tuist test or tuist build.Required

To access the source code of this component, please use the following link:

Preview of GitHub - appcircleio/appcircle-tuist-commands-component: Appcircle.io Tuist Comands Component. With this component, users can run any specific Tuist commands.