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

查看:23
本文介绍了在 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天全站免登陆