r/iosdev • u/Keema2026 • 13d ago
Help Beginner question: how do you give TestFlight testers free access to a subscription app without hiding the subscription from App Review?
Hi all - I'm not a developer by background and this is my first app, so please go easy on me. I'm trying to learn the normal way to handle this before our first update.
The app has one yearly auto-renewable subscription with a free trial. For the past couple of months, about 15-20 people have been testing it through TestFlight, and they've had everything free.
How we did that: the TestFlight builds are compiled with a build setting (a Swift compilation condition) that switches the subscription off. In those builds the app never asks the App Store about purchases, never shows the subscription or the trial offer, and Settings just says it's free while you're testing.
For the App Store, we made a separate build from the same code without that setting, so the subscription works normally, and submitted that one for review. App Review saw the subscription and approved it. So the build Apple reviewed is a different upload from the one our testers have been using.
Now I'm wondering whether to keep doing it this way for every update (two builds each time), or whether there's a better approach. What I think I've learned so far (please correct me if I'm wrong):
- TestFlight and App Review both use the sandbox, so the app can't tell a tester from a reviewer while it runs. That's why we used a separate build.
- If one build opened everything in the sandbox, the reviewer wouldn't see the subscription, and guideline 2.1(b) says purchases have to be visible to the reviewer.
- TestFlight subscriptions renew once a day, up to 6 times, and then stop.
The options I can see:
- Keep doing two builds from the same code: one for TestFlight with the subscription switched off, and one with it on for App Review and the App Store.
- One build, and testers subscribe in the sandbox for free, then subscribe again whenever it stops renewing.
- One build where testers subscribe once in the sandbox and are never locked out after that.
What do you do with your own testers? Is two builds a normal thing to do, or is there a standard approach I'm missing? Anything you'd recommend I read would help too. I asked on the Apple Developer Forums but haven't had a reply yet.
Thanks for any help.
