当我尝试在iTunes Connect帐户中创建测试用户时,出现诸如“下面有一个或多个验证错误”之类的错误。我已经填写了所有字段,并且这些字段中没有显示错误。
最佳答案
Safari的网络检查器是您的朋友。转到“开发”->“显示Web检查器”,然后选择“网络”选项卡。尝试设置您的新沙盒用户。您应该看到以红色突出显示的呼叫-这是尝试创建帐户时点击的HTTP资源。单击该按钮,您应该看到服务器响应内容,其中应包含一些更有用的详细信息作为JSON负载–类似于:
{
"errors" : [ {
"id" : "afafaf-1334-49ae-aaaa-19303ab5b2c8",
"status" : "409",
"code" : "ENTITY_ERROR.ATTRIBUTE.INVALID",
"title" : "The provided entity includes an attribute with an invalid value",
"detail" : "This email address is not available for use as an Apple ID. You may already have an Apple ID associated with this address. Please try again or sign in using your existing Apple ID.",
"source" : {
"pointer" : "/data/attributes/password"
}
} ]
}
关于ios - 在iTunes Connect中测试用户创建,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/52811265/