Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't validate iOS app (getting already has valid certificate)

When switching to Yosemite I did a clean install of my Mac and now I'm having issues submitting my iOS to the store.

When I validate my archive I keep getting "Your account already has a valid iOS Distribution certificate".

I have tried renaming and redownloading my certificate from the member center but that didn't work.

like image 658
David Pedersen Avatar asked Oct 27 '14 10:10

David Pedersen


People also ask

How do I fix certificate not trusted on iPhone?

If you want to turn on SSL trust for that certificate, go to Settings > General > About > Certificate Trust Settings. Under "Enable full trust for root certificates," turn on trust for the certificate. Apple recommends deploying certificates via Apple Configurator or Mobile Device Management (MDM).

How do you refresh a certificate on iPhone?

iOS settings. Click Apple certificates. The current certificate details are displayed: the unique identifier (UID), the Apple ID, and expiration date. Click Renew Certificate. Click Get CSR and save the certificate signing request (.

How do I verify my Apple certification?

Double-click the software update package (. pkg) file to open the installer. Click the lock icon or certificate icon in the upper-right corner of the installer window to see information about the certificate. If neither icon is present, the package is unsigned, and you shouldn't install it.


1 Answers

A very common "doh!" is you copied over the relevant item in Keychain,

BUT!

you forgot the private key part:

enter image description here

So fi the disclosure triangle on the left is missing and the "key" symbol part is missing, that's what's happened.

Solution: just EXPAND the triangle and highlight BOTH parts, then click export. move the file to your other Mac and open.


ALSO -- don't forget, in Xcode you have to literally login these days.

Xcode - Preferences - second tab == Accounts

enter image description here

It's easy to forget, say, one of your various client's accounts there.

like image 176
Fattie Avatar answered Mar 11 '23 01:03

Fattie