OVERVIEW: Build and run an executable product SEE ALSO: swift build, swift package, swift test USAGE: swift run [] [] [ ...] ARGUMENTS: The executable to run The arguments to pass to the executable OPTIONS: --package-path Specify the package path to operate on (default current directory). This changes the working directory before any other operation --cache-path Specify the shared cache directory path --config-path Specify the shared configuration directory path --security-path Specify the shared security directory path --scratch-path Specify a custom scratch directory path (default .build) --swift-sdks-path Path to the directory containing installed Swift SDKs --pkg-config-path Specify alternative path to search for pkg-config `.pc` files. Use the option multiple times to specify more than one path. --enable-dependency-cache/--disable-dependency-cache Use a shared cache when fetching dependencies (default: --enable-dependency-cache) --enable-build-manifest-caching/--disable-build-manifest-caching (default: --enable-build-manifest-caching) --manifest-cache Caching mode of Package.swift manifests (shared: shared cache, local: package's build directory, none: disabled (default: shared) -v, --verbose Increase verbosity to include informational output --very-verbose, --vv Increase verbosity to include debug output -q, --quiet Decrease verbosity to only include error output. --disable-sandbox Disable using the sandbox when executing subprocesses --netrc Use netrc file even in cases where other credential stores are preferred --enable-netrc/--disable-netrc Load credentials from a netrc file (default: --enable-netrc) --netrc-file Specify the netrc file path --resolver-fingerprint-checking (default: strict) --resolver-signing-entity-checking (default: warn) --enable-signature-validation/--disable-signature-validation Validate signature of a signed package release downloaded from registry (default: --enable-signature-validation) --enable-prefetching/--disable-prefetching (default: --enable-prefetching) --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 --skip-update Skip updating dependencies from their remote during a resolution --disable-scm-to-registry-transformation disable source control to registry transformation (default: --disable-scm-to-registry-transformation) --use-registry-identity-for-scm look up source control dependencies in the registry and use their registry identity when possible to help deduplicate across the two origins --replace-scm-with-registry look up source control dependencies in the registry and use the registry to retrieve them instead of source control when possible --default-registry-url Default registry URL to use, instead of the registries.json configuration file -c, --configuration Build with configuration -Xcc Pass flag through to all C compiler invocations -Xswiftc Pass flag through to all Swift compiler invocations -Xlinker Pass flag through to all linker invocations -Xcxx Pass flag through to all C++ compiler invocations --triple --sdk --toolchain --swift-sdk Filter for selecting a specific Swift SDK to build with --sanitize Turn on runtime checks for erroneous behavior, possible values: address, thread, undefined, scudo --auto-index-store/--enable-index-store/--disable-index-store Enable or disable indexing-while-building feature (default: --auto-index-store) --enable-parseable-module-interfaces -j, --jobs The number of jobs to spawn in parallel during the build process --use-integrated-swift-driver --explicit-target-dependency-import-check (default: none) --experimental-explicit-module-build --build-system (default: native) -debug-info-format (default: dwarf) --enable-dead-strip/--disable-dead-strip Disable/enable dead code stripping by the linker (default: --enable-dead-strip) --disable-local-rpath Disable adding $ORIGIN/@loader_path to the rpath by default --repl Launch Swift REPL for the package --debugger Launch the executable in a debugger session --run Launch the executable with the provided arguments (default: --run) --skip-build Skip building the executable product --build-tests Build both source and test targets --version Show the version. -h, -help, --help Show help information.