简体   繁体   English

Xcode iPhone项目代码签名错误

[英]Xcode iPhone project Code Signing error

Whenever I try to build my iPhone app in Xcode 3.2.1 I get an error that says: 每当我尝试在Xcode 3.2.1中构建我的iPhone应用程序时,都会出现错误消息:

Code Sign error: The identity 'iPhone Distribution: foo' doesn't match any identity in any profile 代码签名错误:身份“ iPhone发行版:foo”与任何配置文件中的任何身份都不匹配

This is a distribution certificate, however it worked perfectly with a developer certificate. 这是发行证书,但是与开发人员证书完美配合。

I have revoked and installed all of my iPhone certificates, and Google hasn't been of much help either. 我已吊销并安装了所有iPhone证书,而且Google的帮助也没有。 How can I build my app without this error? 如何制作没有此错误的应用程序?

This looks similar to an earlier question , that says you need to generate a new provisioning profile for your new certificate. 这看起来类似于先前的问题 ,即您需要为新证书生成新的配置文件。

EDIT: 编辑:

From looking at the Code Sign error, it seems it is trying to match up your distribution certificate with a provisioning profile. 通过查看代码签名错误,似乎它正在尝试将您的分发证书与供应配置文件进行匹配。 I have not yet distributed an app to the App Store, but it seems you have to create an "App Store Distribution Provisioning Profile". 我尚未向App Store分发应用程序,但似乎您必须创建“ App Store分发设置配置文件”。 See this doc from the Apple Developer Connection. 请参阅Apple Developer Connection中的此文档

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM