CodeSign Error while preparing App for distribution using Distribution certificate
<p>I have created a Distribution certificate, &amp; a Distribution Provisioning Profile for Ad-Hoc Distribution/ AppStore submission. I have made all the necessary changes in Info.plist, Entitlements file, Targets -> Build of the project. I'm getting an error. i've attached screen shot of this error.<img src="http://i.stack.imgur.com/c0XOW.png" alt="enter image description here">   </p>

<p>This error seems to be occurring coz I've no profiles currently matching for iphone distribution<img src="http://i.stack.imgur.com/SxThm.png" alt=".">.
It displays 'profile doesn't match any valid certificate/ private key pair in default keychain'.
I've checked the certificate &amp; its valid.
<strong>Can there be some issue with the private key present in the keychain access. If so the case, please suggest a solution.</strong>     </p>
