Skip to content

Glossary: Swift Beyond the Basics

swift build

Also written: swift run, swift test, swift package init, swift package update

Command-line tools for packages: `swift build` compiles, `swift run` runs a program, `swift test` runs tests, `swift package init` creates a package, and `swift package update` moves to the newest allowed dependency versions.

Where the book teaches it

Related terms

Package.swiftPackage.resolved