ios - How can I add private key to the distribution certificate? -
well, i've got developer certificate linked it's private key. works fine.
i've donwload ios profile of distributor, says valid signing identity not found.
so checked certificates, , exactly, developer certificate it's linked private key not distribution certificate. how can link/add private keys certificate!?
will solve problem "valid signing identity not found"?
yes, error getting means there not private key on mac associated distribution certificate trying use sign app.
there 2 possible solutions, depending on whether computer requested distribution certificate available or not.
if computer requested distribution certificate available (or there backup of distribution assets somewhere)
- from computer distribution asset generated, open xcode.
- click on window, organizer.
- expand teams section.
- select team, select certificate of "ios distribution" type, click export , follow instructions.
- save exported file , go computer.
- repeat steps 1-3.
- click import , select file exported before.
if computer distribution profile created not accessible anymore (and there not backup)
you have revoke certificate , create new one.
you may need ask team admin or agent give privileges in order generate distribution certificates. once have enough privileges, follow these steps (accurate of 15-may-2013):
- go webpage: https://developer.apple.com/devcenter/ios/index.action
- click on "member center" , enter ios developer credentials.
- click on "certificates, identifiers & profiles".
- click on "certificates" under "ios apps" section.
- expand certificates section on left, select distribution, , click on distribution certificate.
- click revoke , follow instructions.
- click on plus sign add new certificate.
- select "app store , ad hoc" option, , click continue.
- follow steps printed in webpage. involves opening keychain application on mac , generate certificate signing request there. click continue.
- upload .csr file , click continue.
- a certificate generated distribution. download , double click integrate in keychain.
reopen xcode , check project configuration see if can select "iphone distribution" certificate (i.e. it's not grayed out).
Comments
Post a Comment