Xcode 5 中的代码签名问题
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/18882671/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Code signing issue in Xcode 5
提问by IluTov
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". I didn't have this issue in Xcode 4.x.
当我查看钥匙串时,没有“Mac Developer”的重复键。我在 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”下,所以我确信这个项目导致了错误。
回答by IluTov
EDIT
编辑
This issue was fixed in Xcode v5.0.1.
The Generaltab is now available even in sub-projects.
此问题已在Xcode v5.0.1中修复。
在常规选项卡现在可即使在分项目。
Solution
解决方案
Apparently you have to open the sub-project separately, because otherwise you will not get the Generaltab 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,再次打开您的主项目,它应该可以正确编译。