I can't for my life find where to login with sandbox account. Apples instructions says the following:
"To run your app using your Sandbox Apple ID, build and run your app from Xcode. In iOS and iPadOS, the sandbox account appears in Settings > App Store after the first time you use the device to attempt a purchase in a development-signed app. There’s no need to sign out of the non-Sandbox Apple ID. Sign in using a Sandbox Apple ID."
I have added a .storekit file and when I run the app StoreKit actually uses my standard account successfully
and the sandbox account never appears in Settings > App Store.
This is not the only problem I have with this horrifying experience of implementing in-app purchase. It seems not possible to verify receipts using https://sandbox.itunes.apple.com/verifyReceipt with purchases from a local .storekit as I'm getting status code 21002. I can't generate in-app purchase products on app store connect because it requires a release and an actual purchase if I'm not misunderstanding something.
How am I supposed to test the whole flow when I can't verify .storekit purchases, can't generate products on app store connect and can't login with sandbox account?