简体   繁体   中英

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). When I'm going to deploy apps to real devices, Xcode gives me this error:
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上),并在供应门户的主页按照向导(称为启动助手)创建新的配置文件。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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