Swiftpack.co - superwall-me/paywall-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/paywall-ios 2.3.0
The easiest way to increase revenue though A/B testing.
⭐️ 16
🕓 3 weeks ago
iOS macOS
.package(url: "https://github.com/superwall-me/paywall-ios.git", from: "2.3.0")


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 is the open source SDK for Superwall, providing 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!


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
🖥 macOS support
💯 Well maintained - frequent releases
📮 Great support - email a founder: justin@superwall.com


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/paywall-ios in the search bar.
  • Set the Dependency Rule to Up to Next Major Version with the lower bound set to 2.0.0.
  • 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 Paywall SDK in your app, add the following to your Podfile:

pod 'Paywall', '< 3.0.0'

Then, run pod install.

Getting Started

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

For general docs including how to use the Superwall Dashboard, visit docs.superwall.com.

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


Please see the CONTRIBUTING file for how to help.


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

Release Notes

3 weeks ago

What's New

  • New UIKit Example App.
  • Better SDK documentation. This is built from the ground up using DocC which means you view it directly in Xcode by selecting Product ▸ Build Documentation.
  • New Pull Request and Bug Report templates for the repo.
  • Added a setup file that installs GitHooks as well as SwiftLint if you don't already have it. This is located at scripts/setup.sh and can be run from anywhere.
  • Added a CONTIBUTING.md file for detailed instructions on how to get set up and contribute to the codebase.
  • Added a Code of Conduct file to the repo.
  • Added a CHANGELOG.md file.
  • Removed the TPInnAppReceipt dependency for the SDK.


  • All readme links for the UIKit example app now work.
  • Adds an experiment parameter to PaywallInfo. This will be useful in the next version of Triggers, where you can see details about the experiment that triggered the presentation of the paywall.
  • When triggering or presenting a paywall, if the default value for isPresented was true, the paywall would not present/trigger. It now works as expected.

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