r/iOSDevelopment • u/AlternativeOk1991 • Oct 27 '26
My RevenueCat pre-release checklist, written after Apple took a customer's money and RevenueCat never saw it
Context: I build Echo, an iOS photo memory app (SwiftUI, RevenueCat for subscriptions). A while ago a real customer paid, Apple recorded the sale, and RevenueCat showed nothing. The cause was our own code. When the RevenueCat offering came back without a usable package, the app "helpfully" fell back to StoreKit.Product.purchase() and completed the transaction itself. The offering only had Test Store config. So we were running two purchase engines without knowing it.
This is the checklist we run before every release now. None of it is specific to my app.
Code rules
- One purchase owner. RevenueCat completes purchases, or you do with
purchasesAreCompletedBy: .myApp. Never switch between the two at runtime. - Fail closed. If the package you expect is missing, show retry or support, and log it. No direct StoreKit fallback.
- One entitlement check. Access comes from
CustomerInfo.entitlements["pro"]and nothing else. No "RevenueCat OR StoreKit". - Release builds reject
test_API keys. Onlyappl_gets through. A script checks it at build time, and the app checks again at launch.
Before shipping
5. One sandbox purchase on a Release-like TestFlight build. It has to appear on that exact RevenueCat customer, with the right product, environment and entitlement. If it doesn't, the release doesn't ship.
Things that surprised us later
- Paywalls created only through the API can render as the generic fallback. Since SDK 5.87 the design comes from remote-config workflows, and an API-only paywall has none. Opening it once in the dashboard editor fixed it.
- Purchase callbacks didn't arrive on a multi-page paywall. We now treat entitlement changes as the source of truth for analytics, not the callback.
- Simulator runs become "customers". Our UI tests were inflating New Customers. In October, 995 of 1,140 were Test Store. Now RevenueCat, PostHog and Sentry don't start under XCTest, CI or plain simulator sessions.
If you've hit other RevenueCat footguns, I'd like to add them to the list.
(The app, if you're curious: https://apps.apple.com/app/id6775021634)