“与此配置文件匹配的有效签名身份...”和 Xcode 错误
我们公司正在为将被发送的同一个应用程序建立另一个开发站。我安装了 Xcode 并在模拟器中测试了该应用程序。我下载了在我的另一台计算机上运行良好的证书和配置。我选择了正确的代码签名身份,当我构建它以发布到我的 iPad 时,我收到错误:
代码签名错误:身份“iPhone 开发人员:人员姓名 (XXXXXXXX)”与任何有效证书不匹配/默认钥匙串中的私钥对
在管理器中,我单击“配置文件”和我下载的配置文件。在下面我收到警告:
在您的钥匙串中找不到与此配置文件匹配的有效签名身份
我查找了很多很多其他人也遇到了这个问题,但似乎所有人都通过删除来解决它证书和规定,这是我永远不想做的!即,如果我想在两台或多台不同的机器上使用相同的配置和证书怎么办?
Our company is setting up another development station for the same app that will be sent away. I installed Xcode and tested the app in the simulator. I downloaded the Certificate and Provision that worked fine on my other computer. I selected the correct code signing identity and when I build it for a release to my iPad I get an error:
Code Sign error: The identity 'iPhone Developer: Person's Name (XXXXXXXX)' doesn't match any valid certificate/private key pair in the default keychain
In organizer, I click on Provision Profiles and the provision profile I downloaded. Underneath I get the warning:
A valid signing identity matching this profile could not be found in your keychain
I've looked up many, many other people that had this problem, but all seem to resolve it by deleting the cert and provision, which I never want to do! i.e., what if I want to use the same provision and cert on two different machines, or many?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我也经历了删除、重新创建、删除、冲洗-重复——但答案很简单。
我遇到了同样的问题,并在 XCode Organizer 中非常简单地解决了它 - 我使用的是版本 4。我所做的就是转到顶部的库部分并选择配置文件,然后导入我在 Safari 下载中收到的下载的配置文件,名为“名称.mobileprovision”。
I also went through deleting, recreating, deleting, rinse-repeat - but the answer was simple.
I had the same problem and solved it very simply in XCode Organizer - I'm using Version 4. All I did was go to the top Library section and select Provisioning Profiles, and import the downloaded profiles that I had received in my Safari downloads named "name.mobileprovision".
我认为您只需要从工作计算机导出有效的证书,如本文档中所述。
http://developer.apple.com/library/ios/#qa /qa2008/qa1618.html
I think you just have to export the valid certs from the working computer, explained in this doc.
http://developer.apple.com/library/ios/#qa/qa2008/qa1618.html