Supported Commands
scd provides commands for building, running, testing, and packaging SPM projects across multiple platforms. All commands accept Global Options for configuring the tool environment, such as paths to compilers and SDKs. Commands that compile code additionally accept SPM Build Options for controlling the build configuration, compiler flags, and linked libraries.
| Command | Description |
|---|---|
build | Build an SPM project for a target platform |
run | Run an SPM project on a device or simulator |
test | Run SPM project tests |
archive | Archive a built SPM project |
clean | Clean build artifacts |
toolchain | Manage Swift toolchain installations |