代码签名错误:身份'iPhone Distribution'与默认钥匙串中的任何有效证书/私钥对都不匹配 [英] Code Sign error: The identity 'iPhone Distribution' doesn't match any valid certificate/private key pair in the default keychain

查看:465
本文介绍了代码签名错误:身份'iPhone Distribution'与默认钥匙串中的任何有效证书/私钥对都不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

XCode给我上述错误。这是我第一次体验,我确信是用以来编写代码最简单的平台。

XCode is giving me the above error. This is my first experience with, what I'm assured is, the "easiest platform to write code with, ever".

代码签名错误:身份'iPhone Developer'与默认钥匙串中的任何有效证书/私钥对都不匹配,以确保调试和发布 (我假设的意思是分布)同样没有帮助。

The response in Code Sign error: The identity 'iPhone Developer' doesn't match any valid certificate/private key pair in the default keychain of making sure the "Debug" and "Release" (which I assume means "Distribution") are the same did not help.

我没有看到关闭的程序门户部分 http:/ /developer.apple.com 登录时,我应根据代码签名错误:与默认钥匙串中的密钥对不匹配

I don't see a program portal portion off http://developer.apple.com on signing in, as I should according to Code signing error: Doesn't match key pair in default keychain.

我还发现 https://webbuilders.wordpress.com/2009/12/25/code-sign-errors-profile -doesnt-match-any-valid-certificate-private-key-pair-in-the-default-keychain / 我遵循的步骤仍然不想构建。

I also found https://webbuilders.wordpress.com/2009/12/25/code-sign-errors-profile-doesnt-match-any-valid-certificateprivate-key-pair-in-the-default-keychain/ whose steps I followed and it still doesn't want to build.

推荐答案

欢迎来到一个特殊的新无穷无尽的挫折源! iOS的编码非常棒 - 一旦掌握了它,Objective-C就是一种很棒的语言,而且UIKit(大部分)都是精心构建的框架,具有干净,直观的API。但是使用Xcode让你的代码在你的设备上运行可能是一种悲惨的经历,它会让你耐心和理智,无缘无故地向你展示无法理解的随机错误,即使昨天同样的事情也是如此。信不信由你,配置(使用开发人员密钥对应用程序进行签名以便允许在设备上运行的过程)并不像以前那么糟糕,因为自动设备配置可以解决很多繁琐的问题。现在设置位。有关详细信息,请参阅技术说明2250:

Welcome to a special new bottomless source of frustration! Coding for iOS is great—once you get the hang of it, Objective-C is a great language and UIKit has (for the most part) really well-built frameworks with clean, intuitive APIs. But using Xcode to get your code running on your device can be a miserable experience that tries your patience and sanity, presenting you with unintelligible, random errors for no apparent reason, even when the same thing worked yesterday. Believe it or not, provisioning (the process of signing your app with a developer key so that it's allowed to run on the device) isn't as bad as it used to be, because Automatic Device Provisioning takes care of a lot of the tedious setup bits now. See Technote 2250 for details:

https://developer.apple.com/legacy/library/technotes/tn2250/_index.html

另外,你付了钱iOS开发者计划的99美元,对吧?如果没有它,您将无法获得开发者资料并部署到您的iOS设备。

Also, you did pay the $99 for the iOS Developer Program, right? You can't get a developer profile and deploy to your iOS device without that.

这篇关于代码签名错误:身份'iPhone Distribution'与默认钥匙串中的任何有效证书/私钥对都不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆