Create reusable code, organize it in a lightweight way, and share it across Xcode projects and with other developers.
SDK
- Xcode 9.0+
Framework
- Swift Package Manager
Overview
Swift packages are reusable components of Swift, Objective-C, Objective-C++, C, or C++ code that developers can use in their projects. Xcode supports creating and publishing Swift packages, as well as adding, removing, and managing package dependencies. The package management support in Xcode is built on top of the open source Swift Package Manager project.
Tip
To learn more about the Swift Package Manager, visit Swift.org and the Swift Package Manager repository on GitHub.