RevenueCat is an in-app subscription platform that makes it easy to build and manage IAPs on any platform. With the RevenueCat SDK, you can build and manage your app business on any platform without having to maintain purchase infrastructure. You can read more about how RevenueCat fits into your app or you can sign up free to start building.
Minimum target: iOS 9.0+
Add the following to your Podfile:
pod 'Purchases', '3.7.1'
And then run:
This will add
Purchases.framework to your workspace.
Add the following to your Cartfile:
github "revenuecat/purchases-ios" "3.7.1"
And then run:
carthage update --no-use-binaries
--no-use-binariesis optional, but it might be helpful if you're using a different version of the Swift compiler than the one in the binary version.
You can use Swift Package Manager to add Purchases to your Xcode project. Select
File » Swift Packages » Add Package Dependency... and specify the repository URL of the
Purchases library: https://github.com/RevenueCat/purchases-ios.git. Set the version to
Up to next major and choose the target where you want to use it. The library should have been added to the Swift Package Dependencies section and you should be able to import it now.
You should now be able
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
- Now that you've installed the Purchases SDK in your iOS app, get started by configuring an instance of Purchases
Updated 4 days ago