Skip to content

tuist build run

Builds a project (deprecated: Use 'tuist xcodebuild build' instead)

Arguments

scheme Optional

Environment variable TUIST_BUILD_OPTIONS_SCHEME

The scheme to be built. By default it builds all the buildable schemes of the project in the current directory.

bash
tuist build run [scheme]

generate Optional

Environment variable TUIST_BUILD_OPTIONS_GENERATE

Force the generation of the project before building.

bash
tuist build run --generate

no-generate Optional

Environment variable TUIST_BUILD_OPTIONS_GENERATE

Force the generation of the project before building.

bash
tuist build run --no-generate

clean Optional

Environment variable TUIST_BUILD_OPTIONS_CLEAN

When passed, it cleans the project before building it

bash
tuist build run --clean

no-clean Optional

Environment variable TUIST_BUILD_OPTIONS_CLEAN

When passed, it cleans the project before building it

bash
tuist build run --no-clean

path Optional

Environment variable TUIST_BUILD_OPTIONS_PATH

The path to the directory that contains the project to be built.

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

device Optional

Environment variable TUIST_BUILD_OPTIONS_DEVICE

Build on a specific device.

bash
tuist build run --device [device]
tuist build run -d [device]

platform Optional

Environment variable TUIST_BUILD_OPTIONS_PLATFORM

Build for a specific platform.

bash
tuist build run --platform [platform]

os Optional

Environment variable TUIST_BUILD_OPTIONS_OS

Build with a specific version of the OS.

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

rosetta Optional

Environment variable TUIST_BUILD_OPTIONS_ROSETTA

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

bash
tuist build run --rosetta

no-rosetta Optional

Environment variable TUIST_BUILD_OPTIONS_ROSETTA

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

bash
tuist build run --no-rosetta

configuration Optional

Environment variable TUIST_BUILD_OPTIONS_CONFIGURATION

The configuration to be used when building the scheme.

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

build-output-path Optional

Environment variable TUIST_BUILD_OPTIONS_BUILD_OUTPUT_PATH

The directory where build products will be copied to when the project is built.

bash
tuist build run --build-output-path [build-output-path]

derived-data-path Optional Deprecated

Environment variable TUIST_BUILD_OPTIONS_DERIVED_DATA_PATH

Overrides the folder that should be used for derived data when building the project.

bash
tuist build run --derived-data-path [derived-data-path]

generate-only Optional

Environment variable TUIST_BUILD_OPTIONS_GENERATE_ONLY

When passed, it generates the project and skips building. This is useful for debugging purposes.

bash
tuist build run --generate-only

no-generate-only Optional

Environment variable TUIST_BUILD_OPTIONS_GENERATE_ONLY

When passed, it generates the project and skips building. This is useful for debugging purposes.

bash
tuist build run --no-generate-only

passthrough-xcode-build-arguments Optional

Environment variable TUIST_BUILD_OPTIONS_PASSTHROUGH_XCODE_BUILD_ARGUMENTS

Arguments that will be passed through to xcodebuild. Use -- followed by xcodebuild arguments. Example: tuist build -- -destination 'platform=iOS Simulator,name=iPhone 15' -sdk iphonesimulator

bash
tuist build run [passthrough-xcode-build-arguments]

binary-cache Optional

Environment variable TUIST_BUILD_BINARY_CACHE

Ignore binary cache and use sources only.

bash
tuist build run --binary-cache

no-binary-cache Optional

Environment variable TUIST_BUILD_BINARY_CACHE

Ignore binary cache and use sources only.

bash
tuist build run --no-binary-cache

help Optional

Show help information.

bash
tuist build run -h
tuist build run --help

Released under the MIT License.