Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Removing sandbox accounts from tvOS 13

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.

like image 553
picciano Avatar asked Oct 23 '19 20:10

picciano


People also ask

How do I change my Apple ID sandbox?

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.

How do I change my sandbox account?

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.

What is sandbox account Apple?

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.

How do I log out of sandbox?

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.


1 Answers

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 🎉

Screen shot of the Users and Accounts screen with focus on Sandbox Account

Screen shot of the Remove Sandbox Account confirmation dialog

like image 194
ACK Avatar answered Jan 01 '23 21:01

ACK