Do not display the private key under certificate with the disclosure arrow


I have the certificates and keys on my new mac machine but when i going to upload my application it giving me the error Code Sign error: The identity 'iPhone Developer: XXXXXXXXXX' doesn't match any valid certificate/private key pair in the default keychain.*

Then I googled out then find that it required to verify the keychain configuration.

I noticed that their is no Grey Disclosure Triangles to the left of your iPhone Certificates to confirm Private Keys are present. So i try to import it but it gives me error that Unable to import an item .The contents of this item cannot be retrieved. I also tried using command line command then also not adding the private keys under certificate.

I have revoked the both certificates it solved my problem.