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
Guides
Creating a Swift packageSetting the Swift tools versionAdding dependencies to a Swift packageResolving and updating dependenciesCreating C language targetsUsing 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 WorkflowsPluginsModule AliasingUsing a package registryPackage CollectionsUsing shell completion scriptsSwift Package Manager as a library