ios 身份“iPhone Developer”与您钥匙串中的任何有效、未过期的证书/私钥对都不匹配

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

The identity 'iPhone Developer' doesn't match any valid, non-expired certificate/private key pair in your keychains

iostestingcertificatedevice

提问by diogo.appDev

I want to test my app in a device and I'm stuck with this error for hours:

我想在设备中测试我的应用程序,但我被这个错误困扰了几个小时:

The identity 'iPhone Developer' doesn't match any valid, non-expired certificate/private key pair in your keychains

身份“iPhone Developer”与您钥匙串中的任何有效、未过期的证书/私钥对都不匹配

I've followed this guide, and I've searched similar questions here on stackoverflow.

我遵循了本指南,并且在stackoverflow 上搜索了类似的问题。

This might help: in my Provisioning Profiles my certificates have "Valid signing identity not found" and my Archives tab is empty.

这可能会有所帮助:在我的配置文件中,我的证书有“未找到有效签名身份”,而我的档案选项卡为空。

Any help would be nice.

你能帮忙的话,我会很高兴。

采纳答案by matt

This is about what is in your keychain. Lookin your keychain (with Keychain Access). Do you or do you not have a valid up-to-date development certificate? Hint: it looks like this:

这是关于您的钥匙串中的内容。查看您的钥匙串(使用钥匙串访问)。您是否拥有有效的最新开发证书?提示:它看起来像这样:

enter image description here

在此处输入图片说明

Except that the one in the screen shot is expired! You need to have one, and it needs to be notexpired. If you don't have one, then get one.

除了屏幕截图中的那个已过期!你需要有一个,而且它需要没有过期。如果你没有,那就买一个。