title: Xcode 4.5: no "com.apple.product-type.application" product type for iphoneos
body: <p>I just upgraded Xcode to version 4.5, but I now get this error when trying to run it on my iPhone:</p>
  
  <pre><code>target specifies product type 'com.apple.product-type.application', but there's no such product type for the 'iphoneos' platform
  </code></pre>
  
  <p>It works fine on the simulator and it used to work in version 4.4.</p>