tuist build
Builds a project
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.
tuist build [scheme]
generate Optional
Environment variable TUIST_BUILD_OPTIONS_GENERATE
Force the generation of the project before building.
tuist build --generate
tuist build --no-generate
clean Optional
Environment variable TUIST_BUILD_OPTIONS_CLEAN
When passed, it cleans the project before building it
tuist build --clean
tuist build --no-clean
path Optional
Environment variable TUIST_BUILD_OPTIONS_PATH
The path to the directory that contains the project to be built.
tuist build --path [path]
tuist build -p [path]
device Optional
Environment variable TUIST_BUILD_OPTIONS_DEVICE
Build on a specific device.
tuist build --device [device]
tuist build -d [device]
platform Optional
Environment variable TUIST_BUILD_OPTIONS_PLATFORM
Build for a specific platform.
tuist build --platform [platform]
os Optional
Environment variable TUIST_BUILD_OPTIONS_OS
Build with a specific version of the OS.
tuist build --os [os]
tuist build -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.
tuist build --rosetta
tuist build --no-rosetta
configuration Optional
Environment variable TUIST_BUILD_OPTIONS_CONFIGURATION
The configuration to be used when building the scheme.
tuist build --configuration [configuration]
tuist build -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.
tuist build --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.
tuist build --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.
tuist build --generate-only
tuist build --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
tuist build [passthrough-xcode-build-arguments]
binary-cache Optional
Environment variable TUIST_BUILD_BINARY_CACHE
Ignore binary cache and use sources only.
tuist build --binary-cache
tuist build --no-binary-cache
help Optional
Show help information.
tuist build -h
tuist build --help