xcode iPhone Developer' 不匹配任何有效的、未过期的证书/私钥对 - 但我正在创建和 Ipad 应用程序
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9949700/
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
iPhone Developer' doesn't match any valid, non-expired certificate/private key pair-BUT I'm creating and Ipad app
提问by Brian
Possible Duplicate:
Code Sign error: The identity ‘iPhone Developer' doesn't match any valid certificate/private key pair in the default keychain
Why do I get this message when I have specified that I am developing for the iPad and not for the iPhone ? Is there a separate private key that I need ? When I look at Keychain Access Certificates I do have a valid iPhone Developer certificate valid through Jan. 18,2013. So what's the problem ?
当我指定我是为 iPad 而不是为 iPhone 开发时,为什么会收到此消息?我需要单独的私钥吗?当我查看钥匙串访问证书时,我确实拥有有效的 iPhone 开发者证书,有效期至 2013 年 1 月 18 日。所以有什么问题 ?
采纳答案by Nitin Alabur
You dont need a separate private key.
您不需要单独的私钥。
Make sure the bundle identifier in your build settings matches that of the provision profile, the profile which was signed with the certificate that you have in your keychain.
确保您的构建设置中的包标识符与配置文件的标识符相匹配,该配置文件使用您在钥匙串中的证书进行签名。