Skip to content

번역

이 페이지를 번역하거나 기존 번역을 개선할 수 있습니다.

기여

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.

bash
tuist build [scheme]

generate Optional

Environment variable TUIST_BUILD_OPTIONS_GENERATE

Force the generation of the project before building.

bash
tuist build --generate
tuist build --no-generate

clean Optional

Environment variable TUIST_BUILD_OPTIONS_CLEAN

When passed, it cleans the project before building it

bash
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.

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

device Optional

Environment variable TUIST_BUILD_OPTIONS_DEVICE

Build on a specific device.

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

platform Optional

Environment variable TUIST_BUILD_OPTIONS_PLATFORM

Build for a specific platform.

bash
tuist build --platform [platform]

os Optional

Environment variable TUIST_BUILD_OPTIONS_OS

Build with a specific version of the OS.

bash
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.

bash
tuist build --rosetta
tuist build --no-rosetta

configuration Optional

Environment variable TUIST_BUILD_OPTIONS_CONFIGURATION

The configuration to be used when building the scheme.

bash
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.

bash
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.

bash
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.

bash
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

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

binary-cache Optional

Environment variable TUIST_BUILD_BINARY_CACHE

Ignore binary cache and use sources only.

bash
tuist build --binary-cache
tuist build --no-binary-cache

help Optional

Show help information.

bash
tuist build -h
tuist build --help

Released under the MIT License.