简体   繁体   English

我无法对iOS应用程序进行代码签名

[英]I can't code sign my iOS application

I've purchased the developer program earlier and I've installed the certificate into my keychain (both iPhone developer and iPhone distribution). 我已经购买了开发人员程序,并且已经将证书安装到了钥匙串(iPhone开发人员和iPhone发行版)中。 When I'm going to deploy apps to real devices, Xcode gives me this error: 当我要将应用程序部署到真实设备时,Xcode会给我这个错误:
Code Sign error: There are no valid certificate/private key pairs in the default keychain. 代码签名错误:默认钥匙串中没有有效的证书/私钥对。
When I go to Organizer>Teams, there is an error and here is the message: 当我转到管理器>团队时,出现错误,消息如下:
Unable to code sign using identities in this team: no private keys available. 无法使用该团队中的身份对签名进行编码:没有可用的私钥。
And when I go to Provisioning Profiles, there is this error: Valid signing identity not found. 当我转到“供应配置文件”时,出现以下错误:找不到有效的签名身份。
I've tried downloading the certificates from the portal and move them to my keychain again, but I've seen that no keys are coming with these certificates. 我尝试过从门户网站下载证书,然后将它们再次移到我的钥匙串中,但是我发现这些证书没有附带任何密钥。 Where can I get the keys? 我在哪里可以获得钥匙? And also, I didn't see the Software Signing certificate in my keychain either. 而且,我在钥匙串中也没有看到软件签名证书。 How can I solve this problem? 我怎么解决这个问题?

我已经解决了这个问题,方法是删除与应用程序签名有关的所有内容(在Xcode,Keychain Access中以及在developer.apple.com上),并在供应门户的主页按照向导(称为启动助手)创建新的配置文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM