How to Add a Swift Package to Your Xcode Project

Twitter Github Get Early Access

How to Add a Swift Package to Your Xcode Project

Adding a Swift Package to your project couldn't be easier. It's just three steps.

1. In your Xcode project, select File → Add Packages

image

2. In the popup, paste the github url of the package you're adding.

image

3. Press "Add Package"

image

4. Import the package wherever you need it.

image

And that's it! Now you're ready to roll.