Code Sign error: The identity #39;iPhone Developer: x Xxxxx#39; doesn#39;t match any identity in any profile(代码签名错误:身份“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"与任何配置文件中的任何身份都不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:代码签名错误:身份“iPhone 开发人员:x Xxxxx"与任何配置文件中的任何身份都不匹配


基础教程推荐
- 在 gmail 中为 ios 应用程序检索朋友的朋友 2022-01-01
- android 应用程序已发布,但在 google play 中找不到 2022-01-01
- 如何在 iPhone 上显示来自 API 的 HTML 文本? 2022-01-01
- 当从同一个组件调用时,两个 IBAction 触发的顺序是什么? 2022-01-01
- 如何在没有IB的情况下将2个按钮添加到右侧的UINavigationbar? 2022-01-01
- 如何让对象对 Cocos2D 中的触摸做出反应? 2022-01-01
- Android:对话框关闭而不调用关闭 2022-01-01
- UIWebView 委托方法 shouldStartLoadWithRequest:在 WKWebView 中等效? 2022-01-01
- Kivy Buildozer 无法构建 apk,命令失败:./distribute.sh -m “kivy"d 2022-01-01
- 如何在 UIImageView 中异步加载图像? 2022-01-01