xcode ios代码签名问题
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11743129/
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
ios code signing issue
提问by Yusuf Seyrek
I am in a trouble with IOS CodeSigning.
我在使用 IOS CodeSigning 时遇到了麻烦。
I searched it but i cant find out what is the problem.
我搜索了它,但我无法找出问题所在。
Here is my problems
这是我的问题
My bundle id is correct however it is not working. Error message is ; "Code Sign error: The identity 'iPhone Developer' doesn't match any valid, non-expired certificate/private key pair in the default keychain"
我的包 ID 是正确的,但它不起作用。错误信息是; “代码签名错误:身份‘iPhone 开发者’与默认钥匙串中的任何有效、未过期的证书/私钥对不匹配”
回答by danqing
Go to Organizer, choose Device tab, and under Provisioning Profiles (first entry in the left panel) you should see your certificates. Are they valid? If not you may be missing private key.
转到管理器,选择设备选项卡,在配置文件(左侧面板中的第一个条目)下,您应该会看到您的证书。它们有效吗?如果不是,您可能缺少私钥。
If you go to your Keychain, under Certificates you should see your developer profile. They should be expandable and when you expand you should see there's the private key. Without it the certificate won't be valid.
如果您转到您的钥匙串,在证书下您应该会看到您的开发人员资料。它们应该是可扩展的,当您扩展时,您应该看到有私钥。没有它,证书将无效。