iOS 11 - Is in app purchase testing using a sandbox user keeps asking to sign in for anyone else too? Forever loop?

前端 未结 5 2285
清歌不尽
清歌不尽 2020-12-25 10:55

I am testing a non-consumable IAP on an iPhone 6s running iOS 11 GM. Whenever I tap my \"Buy\" button, it asks me to sign in. I tap \"Sign in with existing apple ID\" and en

5条回答
  •  清歌不尽
    2020-12-25 11:28

    Go to Settings ▸ iTunes & Appstore scroll to bottom.

    You can add account here for sand box purchase.

    For iOS 11 and older, sign out the existing account if any. For iOS 12 and newer do not sign out of your Apple account - but manage it at the bottom of the page mentioned above.

    Docs: https://developer.apple.com/documentation/storekit/in-app_purchase/testing_in-app_purchase_transactions

    To keep the sandbox account operational, be sure to only use it when you see [Environment: Sandbox] on the login prompt. For all sandbox accounts, you still have to go through the email-verification process (click link in email).

提交回复
热议问题