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…:

1174

Then, paste the GitHub repository URL:

https://github.com/superwall/Superwall-iOS

in the search bar. With the Superwall-iOS source selected, set the Dependency Rule to Up to Next Major Version with the lower bound set to 3.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:


And you’re done! Now you’re ready to configure the SDK 👇