I'm using a solution based on this: https://stackoverflow.com/questions/26081543/how-to-tell-at-runtime-whether-an-ios-app-is-running-through-a-testflight-beta-i
TLDR, checking if Bundle.main.appStoreReceiptURL?.lastPathComponent == "sandboxReceipt"
Topic:
App Store Distribution & Marketing
SubTopic:
TestFlight
Tags: