Xcode 8显示配置配置文件不包含签名证书的错误。
此问题仅适用于Xcode-8和Xcode 7,相同的配置文件显示相关已识别的证书。
Xcode 8显示配置配置文件不包含签名证书的错误。
此问题仅适用于Xcode-8和Xcode 7,相同的配置文件显示相关已识别的证书。
当前回答
这可能对你有帮助
iOS分发配置
场景:
另一个开发人员给了我一个证书。
我简单地安装了这个
错误:
Xcode 8显示配置配置文件不包含签名证书的错误
这不是完全正确的错误。
错误是私钥丢失
Preference -> Accounts ->双击team
呼叫开发人员发送私钥。
并将其安装到本地
第二个解决方案
创建新的证书。 编辑现有的配置配置文件 包括新证书 保存及下载
其他回答
这个问题似乎在Xcode 11开始出现。
去苹果开发者 找到正确的供应概要文件 单击右上角的“编辑” 在证书中选择(分发)选项。(我认为这是苹果公司引入的一种新的选项/证书类型,尽管我找不到任何文档) 可选:删除(~/Library/MobileDevice/Provisioning profiles /)中的所有配置文件 去Xcode ->首选项->帐户->下载手动配置
在我的情况下,在钥匙串我有两个证书同名,我删除了其中一个证书是重复的,然后它解决了这个问题。
我收到了苹果公司的一封邮件:
Dear John Doe, The following certificate has either been revoked by a member of your development team or has expired: Certificate: iOS Development Team Name: Honey Team, LLC This does not affect apps that you've submitted to the App Store or your ability to update your apps. If you're using provisioning profiles that contain this certificate, they must be recreated before they can be reused. For details, see the "App signing overview" section of Xcode Help. Best regards, Apple Developer Program Support
我创建了一个新证书,撤销了之前的证书(在本地和任何其他开发人员的mac上)。为了让它工作,我必须下载新的配置文件。
解决方案是:
登录到苹果开发者帐户 删除/撤销以前以我的名字创建的证书。 将新的证书添加到供应配置文件中。您可以根据有效期来识别较新的 再次从Xcode下载。下载所有配置文件 重启Xcode
我个人没有这样的机会。这种访问权限只对我们团队的管理员开放,因此我没有截图,也不确定这些步骤是否100%正确。
检查您的钥匙串,查找缺少私钥的身份。我为同一个团队安装了多个分发证书,其中一个缺少私钥。Xcode只检查密钥链中第一个匹配的标识,并自动使用这个标识,而不是包含私钥的标识。
删除没有私钥的匹配标识使Xcode再次检测到正确的标识。
Delete the developer certificate that does not have a private key. Delete the provisioning profile from your machine using go to folder (~/Library/MobileDevice/Provisioning Profiles) Then first check then uncheck the Automatically manage signing option in the project settings with selecting team. Sing in Apple developer account and edit the provisioning profile selecting all available developer certificates then download and add to XCODE. Select the provisioning profile and code signing identity in project build settings