无法在设备上使用沙盒测试用户登录 [英] Unable to log in with sandbox test users on device

查看:28
本文介绍了无法在设备上使用沙盒测试用户登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试进行一些应用内购买测试,所以我在 itunesconnect 上创建了一个沙盒测试器...但是当我尝试在我的设备上以该用户身份登录时出现错误:

Trying to do some In App Purchase testing, so I created a sandbox tester on itunesconnect... but when I attempt to log in as that user on my device I get an error:

不允许创建 iTunes 帐户

Apple ID 目前无法用于 iTunes 商店.请稍后再试.

The Apple ID cannot be used with the iTunes store at this time. Please try again later.

如果我为该帐户输入了错误的密码,我会收到一个帐户拒绝,因此这不是密码输入错误.. 我创建的每个测试帐户都会发生这种情况......任何人都知道到底发生了什么......我在任何地方都找不到这方面的任何信息.

If I put in the wrong password for the account I get an account rejection so its not a password typo.. this is happening for every test account I create... anyone have a clue what the hell is going on.. I cannot find any information on this anywhere.

推荐答案

是的,答案是 I AM AN IDIOT... 纯粹而简单.

Yes, the answer is I AM AN IDIOT... pure and simple.

我在 itunes login 中将我的用户帐户设置为这些测试帐户.. 这使它们作为测试帐户无效,因为他们试图合法地登录到 itunes...

I was setting my user account in itunes login to these test accounts.. which invalidates them as test accounts because they try to legitimately log into itunes...

您必须让您的 iTunes/APPstore 登录为空,不要尝试在设置中明确登录...退出 iTunes/APP STORE,以便设置中的 Apple ID 中没有帐户,然后只需运行您的应用程序通过您的应用登录测试帐户.

You have to have your ITUNES/APPstore login EMPTY, do not try to log in explicitly in the settings... LOG OUT of ITUNES/APP STORE so that no account is in the apple ID in settings and then just run your app & login the test account via your app.

我已经正确地做到了这一点,但是我没有重新查阅文档就去更改用户,并看到我在设置的 UI 中有一个测试用户(我猜它是由软件设置的)所以我试图只是将其设置在那里,并使导致此问题的帐户无效.

I had properly done this, but then without reconsulting the documentation I went to change users, and saw that I had a test user in the UI of the settings (I guess it gets set by the software) so I attempted to just set it there, and was invalidating the accounts causing this problem.

这纯粹是我的错误,但 Apple 可以在这件事引发的错误上做得更好,并且让应用程序商店/iTunes 可能会显示测试 ID 以外的其他内容,因此如果距您一周或两周之后设置您的测试 ID 并更改它,您不会愚蠢地认为您这样做...

This is purely my mistake, but Apple could do a better job on the error this thing throws, and have the app store/itunes perhaps display something other than the test id, so if its been a week since or two since you set your test id and go to change it you don't just foolishly think you do it that way...

无论如何......如果你做了我所做的,你可能需要删除所有的沙箱测试员,因为他们将无效然后创建新的......然后在你的测试设备上删除appstore/itunes登录并尝试运行它....

Anyway... you will likely need to delete all your sandbox testers if you did what I did as they will be invalid and then create new ones... and then remove the appstore/itunes login on your test device and try to run it....

我承认这是记录在案的,我第一次使用测试用户时确实遵循了它,但是下次我想测试时忘记了..这导致了这个......完全是我的错..但我怀疑我是不是,我也不会是唯一一个这样做的人……这就是为什么我在任何地方都找不到关于此错误的任何其他记录的原因如此奇怪.

I admit this is documented, I did follow it the first time I used a test user, but forgot the next time I wanted to test.. which lead to this... fully my fault.. but I suspect I am not, nor will I be the only one to do this... which is why it's so odd I couldn't find anything else documented about this error anywhere.

参考文档:

这篇关于无法在设备上使用沙盒测试用户登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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