RevenueCat

Documentation

RevenueCat helps you build payments and subscriptions in your mobile apps - from simple in-app-purchases to complex multi-channel subscriptions. Follow our development quickstart to start building your integration.

Get Started

iOS

Instructions for installing Purchases SDK for iOS

Feeling Frisky? 😻

We have a public beta ready of our new and improved Purchases SDK v2. We've simplified a lot of the methods, and think you'll like it.

Send me to the new v2 Purchases documentation

Installation

Purchases for iOS can be installed either via CocoaPods or Carthage.

Install via CocoaPods

Add the following to your Podfile:

pod 'Purchases'

And then run:

pod install

This will add Purchases.framework to your workspace.

Install via Carthage

Add the following to your Cartfile:

github "revenuecat/purchases-ios"

And then run:

carthage update --no-use-binaries

Make sure to include the --no-use-binaries to work around a bug in the most recent Carthage release.

Importing Purchases

You should now be able import Purchases

import Purchases
#import "RCPurchases.h"

Enable In-App Purchase for your project

Don't forget to enable the In-App Purchase capability for your project under Project Target -> Capabilities -> In-App Purchase

Next Steps