views:

180

answers:

0

I just downloaded iphone sdk 4. when I try to install on the device I get

"Code Sign error: The identity 'iPhone Developer' doesn't match any valid certificate/private key pair in the default keychain"

I have gone through the process of creating a provisioning profile and cert through iphone Development Provisioning Assistant. However, after installing the profile and cert the assistant asks to check whether public and private key are paired (surprisingly, it shows a pic of what seems to be a private key and cert being paired, i.e. the cert is 'under' private key in hierarchical terms. This is not the case in my keychain. Public key, private key and cert are there but there doesn't seem to be any associations.

Does anyone know how to pair a private key and certificate in keychain please this please?

ps. I have checked this thread but I'm hoping there's an easier way.

http://stackoverflow.com/questions/999313/iphone-app-signing-a-valid-signing-identity-matching-this-profile-could-not-be-f