Xcode iPhone项目代码签名错误 [英] Xcode iPhone project Code Signing error

查看:54
本文介绍了Xcode iPhone项目代码签名错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我尝试在Xcode 3.2.1中构建我的iPhone应用程序时,都会出现错误消息:

Whenever I try to build my iPhone app in Xcode 3.2.1 I get an error that says:

代码签名错误:"iPhone发行版:foo"标识与任何个人资料中的任何标识都不匹配

Code Sign error: The identity 'iPhone Distribution: foo' doesn't match any identity in any profile

这是发行证书,但是与开发人员证书完美配合.

This is a distribution certificate, however it worked perfectly with a developer certificate.

我已吊销并安装了所有iPhone证书,而且Google的帮助也没有很大.如何在没有此错误的情况下构建我的应用?

I have revoked and installed all of my iPhone certificates, and Google hasn't been of much help either. 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.

从查看代码签名错误开始,看来它正在尝试将您的发行证书与预配配置文件匹配.我尚未向App Store分发应用程序,但似乎您必须创建"App Store分发设置配置文件".请参阅Apple Developer Connection中的此文档.

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". See this doc from the Apple Developer Connection.

这篇关于Xcode iPhone项目代码签名错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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