Xcode'CodeSign错误:需要代码签名' [英] Xcode 'CodeSign error: code signing is required'

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

问题描述

我一直在研究iOS 4.0的iPhone项目。我刚刚使用iOS SDK 4.1下载了Xcode 3.2.4,以便我可以使用更新的iOS。在udpated Xcode中打开项目后,我发现目标读为Base SDK Missing。我按照此处的说明修复了此问题。

I've been working on an iPhone project with iOS 4.0. I just downloaded Xcode 3.2.4 with iOS SDK 4.1 so that I can work with the updated iOS. Upon opening the project in the udpated Xcode, I found that the target read 'Base SDK Missing'. I fixed that by following the instructions here.

现在,当我尝试构建针对任何版本的iOS时,我收到此错误(错误文本中引用了相应的版本):

Now when I try building targeting any version of iOS, I receive this error (with the corresponding version referenced in the error text):


CodeSign错误:SDK'设备 - iOS 4.1'中的产品类型'Application'需要代码签名

CodeSign Error: code signing is required for product type 'Application' in SDK 'Device - iOS 4.1'

我安装了Xcode创建的Team Provisioning Profile,Provisioning Profile有我的证书,选择的Code Signing Entity是'iPhone Developer:Aaron Milam'。

I have the Team Provisioning Profile created by Xcode installed, that Provisioning Profile has my certificate, and the Code Signing Entity selected is 'iPhone Developer: Aaron Milam'.

关于我在这里可能缺少什么的任何想法?

Any ideas as to what I could be missing here?

推荐答案

当Xcode无法识别你的时候会发生这种情况证书。

It happens when Xcode doesn't recognize your certificate.

解决它只是一个痛苦的事,有很多可能来帮助你。

It's just a pain in the ass to solve it, there are a lot of possibilities to help you.

但是你要做的第一件事我会尝试在窗口选项卡中删除=>管理器,即设备中的配置。然后重新添加它们(在苹果网站上再次下载)。并尝试再次编译。

But the first thing you should try is removing in the "Window" tab => Organizer, the provisioning that is in your device. Then re-add them (download them again on the apple website). And try to compile again.

顺便问一下,您是否在项目信息窗口中检查了代码签名身份?

By the way, did you check in the Project Info Window the "code signing identity" ?

祝你好运。

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

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