Find complete step-by-step guide in your project: revenuecat.md
What You’ll Set Up
Subscriptions
Monthly and annual subscription plans
Paywall
Beautiful subscription UI (already built!)
Prerequisites
- Apple Developer account ($99/year)
- RevenueCat account (free tier available)
- Completed Supabase Setup
Part 1: App Store Connect Setup
Step 12: Create Bundle Identifier
Go to App Store Connect → Certificates, Identifiers & Profiles → Identifiers (left menu) → Add new identifier.Create a new App ID with your bundle identifier (e.g.,
com.yourcompany.yourapp).Step 13: Enable Capabilities
Select your App ID and enable the required capabilities:
- ✅ Push Notifications
- ✅ In-App Purchase
- ✅ Sign in with Apple
- ✅ Associated Domains
- ✅ Any other capabilities you need
Step 15: Fill App Form
Fill the form with your bundle ID and create the app:
- Platform: iOS
- Name: Your App Name
- Primary Language: English (or your language)
- Bundle ID: Select the one you created
- SKU: A unique identifier (e.g.,
yourapp2024)
Step 16: Create Subscription Group
If you’re adding subscriptions:
- Go to Subscriptions from the left menu
- Click Create to add a new subscription group
- Name it (e.g., “Premium Access”)
Part 2: RevenueCat Dashboard Setup
Step 18: Create RevenueCat Project
Go to RevenueCat and create a new project:
- Click Create New Project
- Name your project
- Select iOS as platform
Step 19: Create Offerings
Create a new offering in RevenueCat:
- Go to Products → Entitlements
- Create entitlement named
pro(or your choice) - Go to Offerings and create a new offering
- Add your subscription products to the offering
Step 20: SDK Already Installed
The RevenueCat SDK is already installed in the boilerplate!Just make sure:
- Package dependencies are resolved in Xcode
- You have your test API key ready
All other steps suggested by RevenueCat (like SDK initialization) are already implemented in the boilerplate with a better approach.
Part 3: Testing Configuration
Step 22: Disable Auth Bypass
In Xcode, configure the scheme for testing:
- Select your target from top menu
- Edit Scheme → Arguments tab
- Set
AUTH_BYPASSargument to0
Step 23: StoreKit Configuration
For simulator testing:
- Select your target → Edit Scheme
- Go to Options tab
- StoreKit Configuration → Select your config file
For real device testing, leave StoreKit Configuration set to None.
Step 24: Verify Subscription Status
Make sure the statuses of your subscriptions are Ready to Submit in App Store Connect.Check each subscription product and ensure all required fields are filled.
Step 25: App Store Connect API Key
Configure your App Store Connect API Key in RevenueCat:
RevenueCat Official Guide
Follow RevenueCat’s official documentation for App Store Connect API key setup
We’re not documenting this step in detail because when Apple changes it, RevenueCat updates their docs immediately.
Step 26: Map Product IDs Correctly
In your RevenueCat offering, make sure to map the correct test product with your real App Store product.
Part 4: Sandbox Testing
Step 28: Create Sandbox Account
Create a sandbox test account:
- Go to App Store Connect
- Users and Access → Sandbox
- Create a new sandbox tester account
Step 29: Sign In on Device
On your simulator or device:
- Go to Settings → Developer
- Sign in with your Sandbox Account
- Try purchasing from your app
Step 30: Common Issue - Bundle Mismatch
Be aware of this common issue: Bundle ID mismatch between App Store Connect and RevenueCat.
What You Get
After setup:- ✅ Working subscription purchases
- ✅ Beautiful paywall UI
- ✅ Subscription status tracking
- ✅ Restore purchases functionality
- ✅ Simulator testing with StoreKit Configuration
- ✅ Detailed logging for debugging
Product Setup Example
Monthly Subscription:- Product ID:
monthly_subscription - Type: Auto-Renewable Subscription
- Price: $9.99/month
- Product ID:
annual_subscription - Type: Auto-Renewable Subscription
- Price: $79.99/year
Troubleshooting
Products not loading
Products not loading
- Verify Product IDs match exactly in App Store Connect, RevenueCat, and StoreKit config
- Upload a build to App Store Connect first
- Check RevenueCat logs in console
- Ensure subscription status is “Ready to Submit”
Purchase fails in sandbox
Purchase fails in sandbox
- Sign out of real App Store account
- Sign in with sandbox account in Settings → Developer
- Restart the app
- Try again
Entitlement not granted
Entitlement not granted
- Verify entitlement name matches in code and RevenueCat dashboard
- Check that products are correctly mapped to entitlement
- Wait a few minutes and check RevenueCat dashboard
Bundle ID mismatch error
Bundle ID mismatch error
- Ensure bundle ID in Xcode matches App Store Connect
- Upload a test build to App Store Connect
- Re-sync products in RevenueCat
Related Guides
Payments Module
Technical documentation
Feature Settings
Paywall UI details
Building Your App
Customize subscriptions
Supabase Setup
Configure backend first
Need Help?
- 📖 Check the troubleshooting section above
- 💬 Create an issue
- 🔍 Search RevenueCat docs
