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:
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:
Looking for Xcode 12 support?
If you require Xcode 12 support, set the Dependency Rule to Branch and set the branch equal to
xcode12/<SDKVersion>. For example:
Updated about 18 hours ago