ios 未找到匹配的签名身份“Mac 开发人员:”
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/21298232/
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
No matching signing identity found "Mac Developer:"
提问by chancyWu
I am building a project downloaded from github. this project targets iphone/ipad/mac.When i build this project, it says
我正在构建一个从 github 下载的项目。这个项目的目标是 iphone/ipad/mac。当我构建这个项目时,它说
No matching signing identity foundNo signing identities (i.e. certificate and private key pair) matching the value specified in your build settings, "Mac Developer:", were found. Xcode can update your build settings to their recommended values.
未找到匹配的签名身份No signing identities (i.e. certificate and private key pair) matching the value specified in your build settings, "Mac Developer:", were found. Xcode can update your build settings to their recommended values.
When i click fix issue button it says The selected team doesn't have a Mac Developer Program membershipSelect a team with a Mac Developer Program membership and try again
. I only have an iOS developer program membership, no mac membership. I've change the Code Signing Identity in Build Settings Tab, but the issue still exist. Can i build the project? How can i fix this issue?
当我单击修复问题按钮时,它说所选团队没有 Mac 开发人员计划会员资格Select a team with a Mac Developer Program membership and try again
。我只有 iOS 开发者计划会员资格,没有 Mac 会员资格。我已经更改了构建设置选项卡中的代码签名标识,但问题仍然存在。我可以构建项目吗?我该如何解决这个问题?
Any help would be much appreciated.
任何帮助将非常感激。
screenshot of General settings in this project is as follows:
本项目中通用设置截图如下:
回答by l'L'l
Self-Signed Codesign Certificate
自签名代码设计证书
It's really simple to fix this; you can create your own self-signed codesign certificate in Keychain Access. If you decide to distribute your app later, or want it to behave nicely with Gatekeeper then you'll of course need to join the Mac Developer Program.
解决这个问题真的很简单;您可以在 Keychain Access 中创建自己的自签名代码签名证书。如果您决定稍后发布您的应用程序,或者希望它与 Gatekeeper 表现良好,那么您当然需要加入 Mac 开发人员计划。
*If it's primarily for your own usage though then you can likely choose not to codesign it at all.
*如果它主要供您自己使用,那么您可能会选择根本不对其进行协同设计。
Self-signed codesiging and No codesigning in XCode
XCode 中的自签名代码签名和无代码签名
回答by yoAlex5
回答by Mark Wagner
I found it to return this, i went to signing and capabilities and switched it to manual. Then it worked
我发现它返回了这个,我去签名和功能并将其切换到手动。然后它起作用了