在iOS模拟器上从AppStore注销 [英] Logout from AppStore on iOS Simulator

查看:155
本文介绍了在iOS模拟器上从AppStore注销的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自5.0以来,iOS模拟器具有StoreKit支持,因此您可以在没有设备的情况下调试应用内购买。但是,它有一个问题。登录后(进行应用程序内购买)我无法更改AppStore登录。设置没有AppStore项,所以我无法从帐户注销。

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.

我试图从模拟器删除应用程序,重启模拟器,从iTunesConnect删除测试用户 - 没有成功。

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

问题屏幕

任何想法?

推荐答案

还有另一种方法可以退出没有重置内容和设置的沙盒帐户。只需从主目录中的以下路径中删除文件:

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.

这只是从模拟器中删除有关iTunes的存储信息。因此它不会删除模拟器中的任何应用程序。它很酷:)

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

这篇关于在iOS模拟器上从AppStore注销的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆