Skip to main content

Installing the SDK

RevenueCat Paywalls are included as part of the RevenueCatUI package in the RevenueCat SDK. You'll need to install the RevenueCatUI package in your project to use Paywalls.

๐Ÿ“˜Paywalls v2 Beta

These docs refer to our beta of Paywalls v2. For installation requirements of original Paywalls which already support iOS, Android, React Native, Flutter, and KMP, click here.

Supported SDK versionsโ€‹

RevenueCat SDKVersion required for Paywalls v2
purchases-ios5.16.0 and up
purchases-androidComing soon
react-native-purchases-uiComing soon
purchases-flutterComing soon
purchases-kmpComing soon
๐Ÿ“˜

Within the SDKs, Paywalls are available on iOS 15.0+, with additional platforms coming soon.

Native iOS Installationโ€‹

Using SPM:โ€‹

If you already have RevenueCat in your project:โ€‹

  1. Open your project settings and select "Package Dependencies":

Change version

  1. Make sure version is at least 5.16.0:

Configure version

  1. Open your target settings and find "Frameworks, Libraries, and Embedded Content":

Find frameworks in your target

  1. Add RevenueCatUI:

Add RevenueCatUI dependency

First time integrating the RevenueCat SDK:โ€‹

  1. Click File -> Add Packages...

  2. Search for git@github.com:RevenueCat/purchases-ios.git and make sure version is at least 5.16.0:

Adding purchases-ios dependency

  1. Add RevenueCat and RevenueCatUI SPM dependency to your project:

Add paywall

Using CocoaPods:โ€‹

Add the following to your Podfile:

pod 'RevenueCat'
pod 'RevenueCatUI'