ios 如何解决代码签名错误:身份 ipad 与钥匙串中的任何有效、未过期的证书/私钥对都不匹配?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11869486/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-30 19:39:32  来源:igfitidea点击:

How can I solve the Code Sign error: The identity ipad doesn't match any valid, non-expired certificate/private key pair in your keychains?

iosxcodeipadtitanium

提问by Uriel Arvizu

I'm new to developing for iOS (hence new to MacOSx) and using Titanium, the version I'm using is 2.1. I tried to deploy my application on an iPad but the following error showed up:

我是 iOS 开发的新手(因此是 MacOSx 的新手)并使用 Titanium,我使用的版本是 2.1。我尝试在 iPad 上部署我的应用程序,但出现以下错误:

[ERROR] Code Sign error: The identity 'iPhone Developer' doesn't match any valid, non-expired certificate/private key pair in your keychains

When I checked Xcode the Provisioning Profiles have the status Valid signing identity not found, my Xcode version is 4.4. I have entered my team developer portal, the application and the iPad are registered there and have downloaded the certificate and the provisioning files and I can't seem to figure out what's wrong with this. I have tried thispost but I couldn't solve my problem.

当我检查 Xcode 时,Provisioning Profiles 的状态为Valid signing identity not found,我的 Xcode 版本是 4.4。我已经进入了我的团队开发人员门户,应用程序和 iPad 在那里注册并下载了证书和配置文件,我似乎无法弄清楚这有什么问题。我已经尝试过这篇文章,但我无法解决我的问题。

I'm really lost here and I wish someone would just guide me in finding the answer to this problem. What I have read so far hasn't given me a solution. Hope anyone can help me with this issue.

我真的迷失在这里,我希望有人能指导我找到这个问题的答案。到目前为止,我所阅读的内容并没有给我一个解决方案。希望任何人都可以帮助我解决这个问题。

采纳答案by Tha Leang

Every time this problem creeps up for me (when I'm using a new machine or new device), I always refer to this post:

每次我遇到这个问题时(当我使用新机器或新设备时),我总是参考这篇文章:

iPhone app signing: A valid signing identity matching this profile could not be found in your keychain

iPhone 应用签名:在您的钥匙串中找不到与此配置文件匹配的有效签名身份

The answer by Louie always worked for me. Good luck

路易的回答总是对我有用。祝你好运