Apple沙箱用户在生产前注销 [英] Apple sandbox user logout before production

查看:265
本文介绍了Apple沙箱用户在生产前注销的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了一个实现In app购买的Phonegap iOS应用程序。如此处所示,我使用沙盒用户以在iOS的开发过程中测试IAP,但我找不到一个方法切换回我的个人帐户来验证应用程序。

I developed a Phonegap iOS app that implements In app purchase. As suggested here, I used a sandbox user in order to test the IAP during the development process in iOS, but i can not find a way to switch back to my personal account to authenticate the application.

在开发开始过程,我退出与我的个人帐户,我没有登录与我的沙盒用户在一般> iTunes& App Store,我启动了应用程序,并从我的沙箱用户登录。

At the start of the development process, i signed out with my personal account, i didn't login with my sandbox user in General > iTunes & App Store, i started the application and i logged in with my sandbox user from that.

现在是时候传递到生产,我不知道如何注销沙箱用户从我的应用程序。如果我启动应用程序,将显示一个登录弹出窗口,沙箱电子邮件。它只是要求密码,但现在有机会更改帐户。当我在应用程序中登录时,沙箱用户帐户记录在常规> iTunes& App Store,但如果我从那里退出,应用程序被停留在沙盒电子邮件。换句话说,就好像应用程序现在已链接到该电子邮件帐户,但它不会给我改变它的机会。

It is time now to pass to production and i can not figure out how to logout the sand box user from my app. If i start the application a Sign In popup is displayed and the sandbox email is there. It simply ask for the password but now chance to change the account. When i login within the application the sandbox user account is logged in General > iTunes & App Store, but if i log out from there the application is stuck with the sandbox email. In other words, it is like if the app is now linked to that email account and it does not give me the chance to change it.

我试图删除该应用程序(点击它,按下X按钮,然后从常规>管理存储),再次安装,软重置iPhone,从iTunes& App Store,在调试模式下重建应用程序或不是,包括插件或不是,在许多组合,但没有成功。

I tried to remove the application (tapping on it and pressing the X button and from General > Manage storage), install it again, to soft reset the iPhone, log out from iTunes & App Store, rebuild the application in debug mode or not, including the plugin or not, in many combination but with no success.

有人有这样的经历吗?

Does anybody experienced something like this? How did you logout your sandbox user when you switched back to your personal iTunes Connect account?

推荐答案

我发现了两种方法可以避免问题,但首先要确保使用新鲜测试帐户。

I have found 2 ways to avoid the problem but first be sure to use a "fresh" testing account.


  1. 更改Xcode和iTunes Connect中的包标识符

  2. 恢复iPhone

我去第一个,因为我的测试设备也是我的个人iPhone,每周不能恢复。

I go for the first one because my Testing device is also my personal iPhone and I can't afford restoring every week.

我花了这么多时间,所以我希望我的答案可以帮助你。

I spent so much time on that so I hope my answer can help you.

这篇关于Apple沙箱用户在生产前注销的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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