Swift Package Manager

Install via Swift Package Manager

Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler.

In Xcode, select File ▸ Add Packages...:

Then, paste the GitHub repository URL https://github.com/superwall-me/paywall-ios in the search bar. With the paywall-ios package selected, set the Dependency Rule to Up to Next Major Version with the version 2.0.0. Make sure your project name is selected in Add to Project. Then click Add Package:

After the package has loaded, make sure Add to Target is set to your app's name and click Add Package:

You're done!

🤔

Looking for Xcode 12 support?

If you require Xcode 12 support, (for SDK versions 2.2.0 or greater), set the Dependency Rule to Branch and set the branch equal to xcode12/<SDKVersion>. For example: xcode12/2.2.0.


What’s Next
Did this page help you?