问题
I want to test in-app purchases in my app on device with different Apple ID(not developer Apple ID). I add device in Apple Developer. But I still can’t do it. How I test purchases on device with not developer Apple ID?
回答1:
if you're getting "Unknown Errors while creating Sandbox Tester, Please check Error Log, email=********@*****.****"
Here's the solution:
- some email servers aren't accepted (for example @bk.ru didn't work, @gmail.com accepted);
- you must use "strong" password (at least 1 capital letter, 1 number and 1 punctuation char);
- you may not use same email address twice (even if previously removed).
Recommendation (also recommended by Apple): gmail supports "extended" pseudo-addresses you may (and should) use for sandbox users: pretend you own myname@gmail.com - you may use myname+anythinghere@gmail.com (anything after + sign)
回答2:
You must create Sandbox Tester Account to test In App Purchase.
回答3:
For testing In App purchase you must have to use Sandbox Tester Account.
回答4:
To add any sandbox testers, add a new user as admin and then login to itunes with the new admin account and try to add the sandbox testers. You will be easily add number of sandbox testers. Let me know if you are still not able to add sandbox testers.
来源:https://stackoverflow.com/questions/40478763/testing-in-app-purchases