---
title: Swift packages
framework: xcode
role: collectionGroup
path: xcode/swift-packages
---

# Swift packages

Create reusable code, organize it in a lightweight way, and share it across Xcode projects and with other developers.

## Overview

Overview

Swift packages are reusable components of Swift, Objective-C, Objective-C++, C, or C++ code that developers can use in their projects. They bundle source files, binaries, and resources in a way that’s easy to use in your app’s project. Xcode supports creating and publishing Swift packages, as well as adding, removing, and managing package dependencies. Its support for Swift packages is built on top of the open source Swift Package Manager project. To learn more about the API you use in your package manifest, see Package. To learn more about the Swift Package Manager, see Swift.org and the open source Swift Package Manager repository.

## Topics

### Package dependencies

- [Adding package dependencies to your app](xcode/adding-package-dependencies-to-your-app.md)
- [Identifying binary dependencies](xcode/identifying-binary-dependencies.md)
- [Editing a package dependency as a local package](xcode/editing-a-package-dependency-as-a-local-package.md)

### Package creation

- [Creating a standalone Swift package with Xcode](xcode/creating-a-standalone-swift-package-with-xcode.md)
- [Bundling resources with a Swift package](xcode/bundling-resources-with-a-swift-package.md)
- [Localizing package resources](xcode/localizing-package-resources.md)
- [Distributing binary frameworks as Swift packages](xcode/distributing-binary-frameworks-as-swift-packages.md)
- [Developing a Swift package in tandem with an app](xcode/developing-a-swift-package-in-tandem-with-an-app.md)
- [Organizing your code with local packages](xcode/organizing-your-code-with-local-packages.md)
- [PackageDescription](packagedescription.md)

### Package distribution

- [Publishing a Swift package with Xcode](xcode/publishing-a-swift-package-with-xcode.md)

### Continuous integration

- [Building Swift packages or apps that use them in continuous integration workflows](xcode/building-swift-packages-or-apps-that-use-them-in-continuous-integration-workflows.md)

## See Also

### Code

- [Source editor](xcode/source-editor.md)
- [Coding intelligence](xcode/coding-intelligence.md)
- [Bundles and frameworks](xcode/bundles-and-frameworks.md)
