验证由于帐户权限而失败 [英] Validating fails because of account permissions

查看:128
本文介绍了验证由于帐户权限而失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经由Team Admin通过iTunesConnect添加为团队成员,而我正在尝试创建一个存档并对其进行验证.标题失败并显示一条消息:

I've been added as a Team member by Team Admin through the iTunesConnect and I am trying to create an archive and validate it. It fails as title says with a message :

此外,如果我尝试让Xcode自动修复此问题,则会出现此错误:

Also, if I try to let the Xcode fix this automatically, I get this error:

团队代理在iTunesConnect中创建了iOS分发配置文件,根据文档,团队成员确实无法创建证书:

The Team Agent created iOS Distribution profile in iTunesConnect and according to the docs, the Team Member indeed can't create certificates :

但这就是团队管理员为我创建证书的原因,但是,看起来我的Xcode尝试创建证书,而不是下载并使用它们(在验证存档时).任何想法为何会发生,以及如何验证存档并将构建版本上传到iTunesConnect?

but that is why the Team Admin created them for me, but still, it looks like my Xcode tries to create certificates, rather than to download and use them (while validating archive). Any ides why is this happening and how to validate an archive and upload the build to the iTunesConnect?

推荐答案

证书始终与私钥配对.您需要证书/密钥对才能正确签名.

Certs are always paired with private keys. You need the cert/key pair to sign properly.

自从您的团队代理创建分发证书以来,证书/专用密钥就位于其计算机的钥匙串上.即使您要下载证书,也可能会丢失私钥.您的团队代理将需要打开钥匙串应用程序,将其导出,发送给您,然后将其导入到钥匙串中.

Since your team agent created the distribution cert, the cert/private key is on their computer's keychain. Even if you were to download the cert, you'd be missing the private key. Your team agent will need to open up Keychain App, export it, send it to you, and then you'll need to import it into your keychain.

此时,假设您还下载了正确的配置文件并且构建设置正确,则签名应该可以正常工作.

At that point, assuming you also have the correct provisioning files downloaded and have the build settings correct, signing should work.

这篇关于验证由于帐户权限而失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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