XCode is giving me the above error. This is my first experience with, what I'm assured is, the "easiest platform to write code with, ever".
The response in Code Sign error: The identity 'iPhone Developer' doesn't match any valid certificate/private key pair in the default keychain of making sure the "Debug" and "Release" (which I assume means "Distribution") are the same did not help.
I don't see a program portal portion off http://developer.apple.com on signing in, as I should according to Code signing error: Doesn't match key pair in default keychain.
I also found https://webbuilders.wordpress.com/2009/12/25/code-sign-errors-profile-doesnt-match-any-valid-certificateprivate-key-pair-in-the-default-keychain/ whose steps I followed and it still doesn't want to build.