Reply to Detect if app was installed through TestFlight 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" App Store Distribution & Marketing TestFlight Dec ’21