Swiftpack.co - superwall-me/SuperwallKit-iOS as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by superwall-me.
superwall-me/SuperwallKit-iOS 3.0.0-beta.2
Remotely configure every aspect of your paywall and double your revenue.
⭐️ 27
🕓 5 hours ago
iOS macOS watchOS
.package(url: "https://github.com/superwall-me/SuperwallKit-iOS.git", from: "3.0.0-beta.2")


In-App Paywalls Made Easy 💸

SwiftPM Compatible Cocoapods Compatible iOS Versions Supported MIT License Community Active Version Number

Superwall lets you remotely configure every aspect of your paywall — helping you find winners quickly.

Paywall.framework (currently supported)

We're in the process of releasing a new v3 version of the framework called SuperwallKit.framework. It's currently in beta status. If you don't want to use the beta, please use Paywall.framework, which is available on version 2.x.

Migrating to v3

SuperwallKit.framework Beta

SuperwallKit and Paywall are clients for Superwall's remote paywall configuration platform.

Paywall is the currently supported, production-ready, open source framework that provides a wrapper around WebKit for presenting and creating paywalls. It interacts with the Superwall backend letting you easily iterate paywalls on the fly in Swift or Objective-C!

SuperwallKit is our next big release. It is a rename of Paywall to SuperwallKit and contains a lot of breaking changes. You can see the changes in our changelog.


Server-side paywall iteration
🎯 Paywall conversion rate tracking - know whether a user converted after seeing a paywall
🆓 Trial start rate tracking - know and measure your trial start rate out of the box
📊 Analytics - automatic calculation of metrics like conversion and views
✏️ A/B Testing - automatically calculate metrics for different paywalls
📝 Online documentation up to date
🔀 Integrations - over a dozen integrations to easily send conversion data where you need it
💯 Well maintained - frequent releases
📮 Great support - email a founder: [email protected]


Swift Package Manager

The preferred installation method is with Swift Package Manager. This is a tool for automating the distribution of Swift code and is integrated into the swift compiler. In Xcode, do the following:

  • Select File ▸ Add Packages...
  • Search for https://github.com/superwall-me/SuperwallKit-iOS in the search bar.
  • Set the Dependency Rule to Up to Next Major Version with the lower bound set to 3.0.0 (set this to 2.0.0 if you don't want to use the v3 beta).
  • Make sure your project name is selected in Add to Project.
  • Then, Add Package.


Cocoapods is an alternative dependency manager for iOS projects. For usage and installation instructions, please visit their website. To include the Superwall SDK in your app, add the following to your Podfile:

pod 'SuperwallKit', '< 4.0.0'

If you don't want to use the v3 beta, you'll need to add this instead:

pod 'Paywall', '< 3.0.0'

Then, run pod install.

Getting Started

With v3

Sign up for a free account on Superwall and read our docs.

You can also view our iOS SDK docs. If you'd like to view it in Xcode, select Product ▸ Build Documentation.

Check out our sample apps for a hands-on demonstration of the SDK:

With v2

Sign up for a free account on Superwall and read our docs.

You can also view our iOS SDK docs.

Read our Kodeco (Ray Wenderlich) tutorial: Superwall: Remote Paywall Configuration on iOS


Please see the CONTRIBUTING file for how to help.


Stars: 27
Last commit: 18 hours ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

18 hours ago

Breaking Changes

  • Moves all functions and variables to the shared instance for consistency, e.g. it's now Superwall.shared.track() instead of Superwall.track().


  • Readds Superwall.shared.logLevel as a top level static convenience variable so you can easily change the log level.
  • Adds isLoggedIn to user properties, which means you can create a rule based on whether the user is logged in vs. whether they're anonymous.


  • Fixes bug in <iOS 14 where the spinner wasn't appearing when transacting.
  • Fixes bug where PaywallOverrides weren't being passed in to the paywall.
  • Fixes bug where purchasing, deleting then reinstalling your app, and tapping a purchase button would throw an error.
  • Fixes an rare crash associated with the loading and saving of Core Data.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics