无法使用设备上的沙盒测试用户登录 [英] Unable to log in with sandbox test users on device
问题描述
尝试做一些In App Purchase测试,所以我在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:
不允许创建帐户
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.
推荐答案
是的,答案是我是一个IDIOT ......纯粹而简单。
Yes, the answer is I AM AN IDIOT... pure and simple.
我正在设置我的用户帐户在itunes登录到这些测试帐户..这使他们无效为测试帐户,因为他们试图合法地登录到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登录EMPTY不会尝试在设置中明确登录...退出ITUNES / APP STORE,以便设置中的苹果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 program.
我已经正确地完成了这项工作,但是在没有重建文档的情况下我改变了用户,并看到我在s的UI中有一个测试用户ettings(我猜它是由软件设置的)所以我试图将它设置在那里,并使导致此问题的帐户无效。
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可以更好地处理这个东西抛出的错误,并且app store / 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承认这是记录在案的,我第一次使用测试用户时确实遵循了它,但忘记了下次我想测试...这导致了这个...完全是我的错...但我怀疑我不是,也不会我是唯一一个这样做的人...这就是为什么它如此奇怪,我找不到任何东西其他任何地方都记录了这个错误。
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 its so odd I couldn't find anything else documented about this error anywhere.
文献供参考:
(确保展开:为应用内购买产品执行测试部分)
这篇关于无法使用设备上的沙盒测试用户登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!