简体   繁体   English

Xcode 5中的代码签名问题

[英]Code signing issue in Xcode 5

My project has a sub-project. 我的项目有一个子项目。 It's not being code-signed: 它没有代码签名:

在此输入图像描述

Even though I disabled code-signing, I still get this error: 即使我禁用了代码签名,我仍然会收到此错误:

Code Sign error: Multiple matching codesigning identities found: Multiple codesigning identities (i.e. certificate and private key pairs) matching “Mac Developer” were found.

When I look in the keychain, there's no duplicate key of "Mac Developer". 当我查看钥匙串时,“Mac Developer”没有重复的键。 I didn't have this issue in Xcode 4.x. 我在Xcode 4.x中没有这个问题。

How can I fix this? 我怎样才能解决这个问题?


EDIT 编辑

The issue description appears under "LaunchAtLoginHelper", so I'm positive that this project is causing the error. 问题描述出现在“LaunchAtLoginHelper”下,所以我很肯定这个项目导致错误。

EDIT 编辑

This issue was fixed in Xcode v5.0.1 . 此问题已在Xcode v5.0.1中修复。
The General tab is now available even in sub-projects. 即使在子项目中,“ 常规”选项卡也可用。

在此输入图像描述


Solution


Apparently you have to open the sub-project separately, because otherwise you will not get the General tab in the projects settings. 显然,您必须单独打开子项目,否则您将无法在项目设置中获得“ 常规”选项卡。

Even tough there was no code-signing identity, you need to separately disable code-signing in Xcode 5. 即使很难,也没有代码签名身份,您需要在Xcode 5中单独禁用代码签名。

在此输入图像描述

Just choose None , open your main project again and it should compile correctly. 只需选择None ,再次打开您的主项目,它应该正确编译。

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

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