title: The identity 'iPhone Developer' doesn't match any valid, non-expired certificate/private key pair in your keychains
body: <p>I want to test my app in a device and I'm stuck with this error for hours:</p>
  
  <blockquote>
    <p>The identity 'iPhone Developer' doesn't match any valid, non-expired certificate/private key pair in your keychains</p>
  </blockquote>
  
  <p>I've followed <a href="http://developer.apple.com/library/ios/#documentation/ToolsLanguages/Conceptual/YourFirstAppStoreSubmission/TestYourApponManyDevicesandiOSVersions/TestYourApponManyDevicesandiOSVersions.html" rel="noreferrer">this guide</a>, and I've searched similar questions here on stackoverflow.</p>
  
  <p>This might help: in my Provisioning Profiles my certificates have "Valid signing identity not found" and my Archives tab is empty.</p>
  
  <p>Any help would be nice.</p>