Skip to content

tuist run

Runs a scheme or target in the project

Arguments

runnable

Environment variable TUIST_RUN_SCHEME

Runnable project scheme, a preview URL, or app name with a specifier such as App@latest or App@feature-branch.

bash
tuist run [runnable]

generate Optional

Environment variable TUIST_RUN_GENERATE

Force the generation of the project before running.

bash
tuist run --generate
tuist run --no-generate

clean Optional

Environment variable TUIST_RUN_CLEAN

When passed, it cleans the project before running.

bash
tuist run --clean
tuist run --no-clean

path Optional

The path to the directory that contains the project with the target or scheme to be run.

bash
tuist run --path [path]
tuist run -p [path]

configuration Optional

The configuration to be used when building the scheme.

bash
tuist run --configuration [configuration]
tuist run -C [configuration]

device Optional

The simulator device name to run the target or scheme on.

bash
tuist run --device [device]

os Optional

Environment variable TUIST_RUN_OS

The OS version of the simulator.

bash
tuist run --os [os]
tuist run -o [os]

rosetta Optional

When passed, append arch=x86_64 to the 'destination' to run simulator in a Rosetta mode.

bash
tuist run --rosetta

arguments Optional

Environment variable TUIST_RUN_ARGUMENTS

The arguments to pass to the runnable target during execution.

bash
tuist run [arguments]

help Optional

Show help information.

bash
tuist run -h
tuist run --help

Released under the MIT License.