title: Code signing broken on Xcode 5.1 + iOS 7.1
body: <p>Seems Apple has broken provisioning profiles in Xcode 5.1 ??</p>
  
  <ol>
  <li>Upgraded to Xcode 5.1</li>
  <li>Plugged in a device that wasn't registered on Dev Center</li>
  <li>Asked Xcode to auto-add it</li>
  </ol>
  
  <p>Result:</p>
  
  <ol>
  <li>Developer Provisioning Profile is now corrupt in Xcode5</li>
  </ol>
  
  <p>The following had no effect:</p>
  
  <ol>
  <li>Restarting Xcode</li>
  <li>Deleting profile and re-downloading within Xcode</li>
  <li>Check that certificate is valid</li>
  <li>Re-building with other profiles for same account/project (i.e. Distribution profiles) that had NOT been changed (works fine)</li>
  </ol>
  
  <p>NOTE: in iPhone Configuration Utility, the profiles shows up as valid with all the registered devices. In Xcode5.1 I get:</p>
  
  <blockquote>
    <p>Code Sign error: No codesigning identities found: No codesigning
    identities (i.e. certificate and private key pairs) that match the
    provisioning profile specified in your build settings (“iOS Team
    Provisioning Profile: com.irisconnect.betairisconnect”) were found.</p>
  </blockquote>