分发配置文件要求开发者证书 [英] Distribution Profile requesting a Developer certificate

查看:324
本文介绍了分发配置文件要求开发者证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Xcode 9.1,在构建iOS应用后,我尝试对其进行存档. 但是我收到以下错误消息:

Using Xcode 9.1, after building an iOS app, I try to archive it. But I get the following error message:

设置配置文件"MyAppProfile"不包括签名证书​​ iPhone开发人员:我的名字(X1YZ2AB3CD)".

Provisioning profile "MyAppProfile" doesn't include signing certificate "iPhone Developer: My Name (X1YZ2AB3CD)".

仔细查看后,我发现MyAppProfile是分发配置文件(这就是我想要的),并且X1YZ2AB3CD与开发者证书匹配.但是在构建MyAppProfile(用于App Store)时,我可以选择唯一的分发证书(无开发人员证书).那么,为什么我收到此消息,抱怨MyAppProfile不包含开发人员证书.我有点迷路.任何人都可以在这里露面吗?

After looking closer, I see that MyAppProfile is a Distribution Provisioning Profile (this is what I want) and X1YZ2AB3CD matches a Developer certificate.But when building MyAppProfile (for App Store) I was provided with the choice of a unique Distribution certificate (No Developer certificate). So why do I get this message complaining about MyAppProfile not including a Developer certificate. I am kind of lost. Anyone can shed some light here?

如果我放弃手动签名,这是尝试上传到appStore时得到的:

In case I give up with manual signing, here is what I get when trying to upload to appStore:

  • 自动签名无法解决"MyApp.app"目标的权利问题. 切换到手动签名,并通过从开发者网站下载匹配的配置文件来解决问题.通常,要继续使用自动签名,请从您的权利文件中删除这些权利,并从您的代码中删除其相关功能.然后重建您的存档,然后重试.

  • Automatic signing is unable to resolve an issue with the "MyApp.app" target's entitlements. Switch to manual signing and resolve the issue by downloading a matching provisioning profile from the developer website. Atlernatively, to continue using automatic signing, remove these entitlements from your entitlements file and their associated functionality from your code. Then rebuild your archive and try again.

设置配置文件资格未通过 配置文件与应用程序标识符权利的权利文件值不匹配.

Provisioning profile failed qualification Profile doesn't match the entitlements file's value for the application-identifier entitlement.

推荐答案

从您的钥匙串访问权限中删除不包含私钥的证书.我的意思是名称左侧没有箭头(播放按钮类型)的证书.

Remove certificates from your keychain access which doesn't include private keys. I mean the certificates which does not have arrow(play button type) on left side of name.

,然后从您的xcode中选择无法自动进行代码签名的常规团队,然后尝试!

and then from your xcode select your team from general and unable automatic code signing and then try!

您可以参考这篇文章这篇文章

这篇关于分发配置文件要求开发者证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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