--help, -h, -help | Show help information |
--version | Show the version |
-Xcc <flag> | Pass a flag through to all C compiler invocations |
-Xswiftc <flag> | Pass a flag through to all Swift compiler invocations |
-Xlinker <flag> | Pass a flag through to all linker invocations |
-c, --configuration <configuration> | Build with configuration (default: debug) |
--build-path <path> | Specify build/cache directory |
--cache-path <path> | Specify the shared cache directory |
--enable-repository-cache | Enable the use of a shared cache when fetching repositories (default: enabled) |
--disable-repository-cache | Disable the use of a shared cache when fetching repositories (default: enabled) |
-C, --chdir <chdir> | The custom working directory that the tool should operate in |
--package-path <path> | Change working directory before any other operation |
--multiroot-data-file <multiroot-data-file> | The path to the file containing multiroot package data. This is currently Xcode's workspace file |
--enable-prefetching | Enable prefetching in resolver which will kick off parallel git cloning (default: enabled) |
--disable-prefetching | Disable prefetching in resolver which will kick off parallel git cloning (default: enabled) |
-v, --verbose | Increase verbosity of informational output |
--disable-sandbox | Disable using the sandbox when executing subprocesses |
--manifest-cache <mode> | Caching mode of Package.swift manifests |
--destination <path> | Path to the compilation destination describing JSON file |
--triple <triple> | The compilation destination's target triple |
--sdk <path> | Path to the compilation destination's SDK |
--toolchain <path> | Path to the compilation destination's toolchain |
--static-swift-stdlib | Link Swift stdlib statically (default: false) |
--no-static-swift-stdlib | Don't link Swift stdlib statically (default: false) |
--skip-update | Skip updating dependencies from their remote during a resolution |
--sanitize <type> | Turn on runtime checks for erroneous behavior |
--enable-code-coverage | Enable code coverage (default: disabled) |
--disable-code-coverage | Disable code coverage (default: disabled) |
--force-resolved-versions, --disable-automatic-resolution, --only-use-versions-from-resolved-file | Only use versions from the Package.resolved file and fail resolution if it is out-of-date |
--auto-index-store | Enable or disable indexing-while-building feature (default: auto) |
--enable-index-store | Enable indexing-while-building feature (default: auto) |
--disable-index-store | Disable indexing-while-building feature (default: auto) |
--enable-parseable-module-interfaces | Whether to enable generation of `.swiftinterface`s alongside `.swiftmodule`s |
--trace-resolver | Write dependency resolver trace to a file |
-j, --jobs <jobs> | The number of jobs to spawn in parallel during the build process |
--enable-build-manifest-caching | Whether to enable llbuild manifest caching (default: enabled) |
--disable-build-manifest-caching | Whether to disable llbuild manifest caching (default: enabled) |
--emit-swift-module-separately | Emit the Swift module separately from the object files |
--use-integrated-swift-driver | Whether to use the integrated Swift driver rather than shelling out to a separate process |
--experimental-explicit-module-build | Whether to use the explicit module build flow (with the integrated driver) |
--print-manifest-job-graph | Write the command graph for the build manifest as a graphviz file |
--build-system <build system> | The build system to use (default: native) |
--netrc <bool> | Whether to load .netrc files for authenticating with remote servers when downloading binary artifacts or communicating with a registry |
--netrc-file <path> | The path to the .netrc file used when `netrc` is `true` |