xcode “代码签名错误:未找到包含任何钥匙串签名证书的未过期配置文件”
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/15965149/
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 Sign error: No unexpired provisioning profiles found that contain any of the keychain's signing certificates"
提问by HelenaM
I have a problem with all my new projects. If I try to "Archive" to submit to app store I'm getting this error "Code Sign error: No unexpired provisioning profiles found that contain any of the keychain's signing certificates"
. But if I try to archive any of my old projects, they works just fine. I notice the code sign options are different in both projects:
我的所有新项目都有问题。如果我尝试“存档”以提交到应用商店,我会收到此错误"Code Sign error: No unexpired provisioning profiles found that contain any of the keychain's signing certificates"
。但是如果我尝试归档我的任何旧项目,它们就可以正常工作。我注意到两个项目中的代码签名选项不同:
Working project:
工作项目:
This is the NOT WORKING code sign options:
这是 NOT WORKING 代码标志选项:
My question for you guys is that, why the difference or how can I make my project work and get the right options for code sign.
我对你们的问题是,为什么会有不同,或者我怎样才能让我的项目工作并获得正确的代码签名选项。
I'll really appreciate all your help.
我将非常感谢您的所有帮助。
回答by Sharanya K M
While Selecting a Provisioning profile(Developer or distribution) make sure you choose the one that matches the bundle identifier you have entered in your target's summary.
在选择供应配置文件(开发人员或发行版)时,请确保选择与您在目标摘要中输入的包标识符相匹配的配置文件。
May be you have not added the right bundle identifier. Just check..
可能是您没有添加正确的包标识符。只是检查..
EDIT:check out the image in summary. you have to enter the bundle identifier of the provisioning profile you want to use. I hope you are aware that every provisioning has a bundle identifier. Example com.yourCompany.something
编辑:查看图像摘要。您必须输入要使用的配置文件的包标识符。我希望您知道每个配置都有一个包标识符。示例 com.yourCompany.something
Make sure that the identifier in your target's summary(refer image) and the identifier of the distribution profile match when you choose a distribution profile.
选择分发配置文件时,请确保目标摘要(参考图片)中的标识符与分发配置文件的标识符匹配。