Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Logout from AppStore on iOS Simulator

Since 5.0, iOS simulator has StoreKit support so you can debug your In-App purchases without device. But, it has one issue. Once logged in (make In-App purchase) I can't change AppStore login. Settings has not "AppStore" item, so I can't "logout" from account.

I tried to delete application from simulator, restart simulator, delete test user from iTunesConnect — no success.

Screen of the problem

Any idea?

like image 249
Styx Avatar asked Nov 06 '11 16:11

Styx


People also ask

How do I close apps in iOS simulator?

First press Shift+Command+ H twice. This will open up all the apps that are currently open. Swipe left/right to the app you actually want to close. Just Swipe Up using the Touchpad while Holding the App would close the app.

Does iOS simulator Have App Store?

No. The iOS Simulator does not have an App Store.

How do I open iOS app in simulator?

To run your app in Simulator, choose an iOS simulator—for example, iPhone 6 Plus, iPad Air, or iPhone 6 + Apple Watch - 38mm—from the Xcode scheme pop-up menu, and click Run. Xcode builds your project and then launches the most recent version of your app running in Simulator on your Mac screen, as shown in Figure 1-1.

How do I remove the simulator from my iPhone?

Go to Window > Devices and simulators, then select the Simulators tab. You can right-click on any simulator and select 'delete' to get rid of it.


2 Answers

There is another way to log out from that sandbox account without "Reset Content & Settings" . Just remove the files from the following path in your home directory :

~/Library/Application\ Support/iPhone\ Simulator/5.0/Library/com.apple.itunesstored  

You may also need to restart the Simulator for the change to take effect.

This just removes the stored information about iTunes from Simulator. So it doesn't delete any apps in the Simulator. It works cool :)

like image 99
Tushar Avatar answered Nov 23 '22 12:11

Tushar


Try to "Reset content & settings"

like image 25
Dimitar Marinov Avatar answered Nov 23 '22 13:11

Dimitar Marinov