代码签名错误:身份“iPhone 开发人员:x Xxxxx"与任何配置文件中的任何身份都不匹配 [英] Code Sign error: The identity 'iPhone Developer: x Xxxxx' doesn't match any identity in any profile

查看:36
本文介绍了代码签名错误:身份“iPhone 开发人员:x Xxxxx"与任何配置文件中的任何身份都不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我构建我的 iPhone 项目以在我的设备上运行时出现此构建错误:

I get this build error when I build my iPhone project to run on my device:

 **Code Sign error: The identity 'iPhone Developer: x Xxxxx' doesn't match any identity in any profile**

我的开发代码签名证书过期了,所以我得到了一个新的.在我第一次尝试时,我创建了一个新的 CSR 并得到了上面的消息.第二次我重用了我原来的 CSR 并得到了相同的结果.另一个奇怪的事情是,当我使用 Keychain Access 像这样查看新证书时,公用名"中我的名字后面有一个带括号的额外字符串:

My development code signing certificate expired so I got a new one. On my first attempt I created a new CSR and got the message above. The second time I reused my original CSR and got the same result. Another strange thing is the new certificate has an extra string with brackets after my name in the "common name" when I look at it using Keychain Access like this:

iPhone Developer: x Xxxxx **(3BDUAJYC9Q)**

`我的原始证书没有.

I have Xcode Version 3.1.3
Component versions
Xcode IDE: 1191.0
Xcode Core: 1192.0
ToolSupport: 1186.0

有人知道怎么解决吗?

推荐答案

我认为您需要根据新证书创建新的配置文件.

I think you need to create new provisioning profiles based on your new certificate.

登录 developer.apple.com 并转到 iOS 配置门户 -> 配置 -> 开发.您曾经创建的配置文件很可能已过期,因此只需更新并重新下载即可.

Log on to developer.apple.com and go to the iOS Provisioning Portal -> Provisioning -> Development. Most likely, the profile you once created has expired, so just renew and redownload it.

这篇关于代码签名错误:身份“iPhone 开发人员:x Xxxxx"与任何配置文件中的任何身份都不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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