I have been developing a tvOS app that uses in-app purchasing. As part of the development process, the app must be tested using iTunes sandbox user accounts. When beginning the in-app purchase using a local build, the user is prompted for the account credentials to one of these sandbox accounts.
The problem arises with tvOS 13, which does not appear to let you log out from or remove a sandbox account from the device once entered. While this might be okay for purchasing a single time, going through the purchase process again requires a new sandbox account, since otherwise, the purchase would be treated as a renewal rather than a new purchase.
Has anyone figured out a way to log out of a sandbox account with an Apple TV running tvOS 13? The only workaround I have found is to perform a reset on the device and go through the setup process again costing a great deal of time.
In order to switch back to the real Apple ID, we just go to the Settings->iTunes, App Store, logout the sandbox user, and login with working Apple ID. This is my way of logging into the sandbox user and get back to the real apple id.
Change a sandbox account passwordLog in to the Developer Dashboard and navigate to the Sandbox>>Accounts page. In the Manage Accounts column, click the icon associated with the account you want to manage. Click View/Edit Account.
Overview. App Sandbox provides protection to system resources and user data by limiting your app's access to resources requested through entitlements. Important. To distribute a macOS app through the Mac App Store, you must enable the App Sandbox capability.
To log out of your account at The Sandbox, click the profile avatar in the top-right of the website. It is next to the shopping cart icon. And then press the Log Out option.
tvOS 13.4 (17L256) contains an update that allows you to sign out of the Sandbox account.
Settings
> Users and Accounts
> Scroll down to Sandbox Account
> click on the email address > click Delete
in the confirmation dialog > you're signed out 🎉
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With