Installation
iOS - Swift Package Manager
Install the Superwall iOS SDK via Swift Package Manager. To see the latest release, check out the repository.
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:
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 👇