Logout from AppStore on iOS Simulator

一笑奈何 提交于 2019-11-28 17:25:44
Tushar

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"

Simulator 6.0 stored information location:

~/Library/Application Support/iPhone Simulator/6.0/Library/com.apple.itunesstored/

Update for 6.1:

~/Library/Application Support/iPhone Simulator/6.1/Library/com.apple.itunesstored/

With iOS 7 Apple appear to have removed the ability to test In App Purchases using the simulator. Whatever you do (including removing the files in the relevant com.apple.itunesstored simulator directory) you always get the "Could not connect to iTunes store" error when trying to request the product identifiers.

Testing on a device works fine.

UPDATE: I have found that the regular "iPhone Retina (4-inch)" simulator works, but the 64bit simulator doesn't. Very odd.

Saqib Omer

To logout from iOS simulator using xCode 6.3.1, go to Setting -> Safari -> Clear History and Website Data.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!