Why am I seeing 'Sign in to Apple Account' when testing in-app purchases?
Fix the 'Sign in to Apple Account' alert when testing in-app purchases: use a StoreKit config file on the simulator or a Sandbox Account on a device.
The cause for this alert depends on the type of device you're using to test:
iOS Simulator
iOS simulators cannot make real purchases or sign into real Apple accounts, you have to use a local StoreKit configuration file. If you're seeing this alert on a simulator it means you're either not using a StoreKit config or it's not set on your current scheme correctly.
Real Device
When testing in-app purchases in a development environment on a physical iOS device, you'll need to use a Sandbox Account to process test purchases.
-
Go to your device's Settings
-
Navigate to App Store
-
Select Sandbox Account
-
Sign in with your Apple Sandbox Account credentials
How is this guide?
Troubleshooting
Fix common Superwall SDK issues: unexpected paywall presentation, debugging paywalls in production, StoreKit test transactions, sandbox trials, and products.
Troubleshooting: Flutter SDK
Troubleshoot the Superwall Flutter SDK: links to fixes for products or prices not loading and paywalls not showing, plus how to get support.