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"与任何配置文件中的任何身份都不匹配
基础教程推荐
- NSString intValue 不能用于检索电话号码 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
