Swift Package Manager
Organize, manage, and edit Swift packages.
Overview
The Swift Package Manager lets you share your code as a package, depend on and use other shared packages, as well as build, test, document, and run your code.
Topics
Essentials
Building Packages
Creating a Swift packageSetting the Swift tools versionUsing build configurationsPackaging based on the version of SwiftBundling resources with a Swift packageReleasing and publishing a Swift packageGenerating Software Bill of Materials (SBOM)Continuous Integration WorkflowsUsing shell completion scripts
Depedencies
Adding dependencies to a Swift packageUsing a package registryBundling resources with a Swift package