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?
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.
No. The iOS Simulator does not have an App Store.
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.
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.
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 :)
Try to "Reset content & settings"
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