title: Got "This application does not support this device's CPU type" trying to run my application on iPhone 4S from Xcode
body: <p>The application is built for armv7 architecture. I double checked binary header, and it contains 12 for CPU type and 9 for CPU subtype.</p>
  <p>The application runs well on iPhone 5 but fails on iPhone 4S or iPad Mini. Both have iOS 7.0.3 installed. Xcode version 5.0. There are no specific processor requirements in plist.</p>
  <p>See device console log below. Any ideas?</p>
  <pre><code>Nov 14 13:09:42 iPhone-4S installd[62] &lt;Error&gt;: 0x25d000 file_matches_my_arch: Can't map input file: /var/tmp/install_staging.7IZ38C/xxxx.app/xxxx
  
  Nov 14 13:09:42 iPhone-4S installd[62] &lt;Error&gt;: 0x25d000 do_preflight_verification: Incorrect architecture at /var/tmp/install_staging.7IZ38C/xxxx.app
  
  Nov 14 13:09:42 iPhone-4S mobile_installation_proxy[138] &lt;Error&gt;: 0x181000 MobileInstallationInstallForLaunchServices: failed with -1
  
  Nov 14 13:09:42 iPhone-4S installd[62] &lt;Error&gt;: 0x25d000 install_application: Could not preflight application install
  
  Nov 14 13:09:42 iPhone-4S mobile_installation_proxy[138] &lt;Warning&gt;: ERROR: MobileInstallationInstallForLaunchServices returned nil
  
  Nov 14 13:09:42 iPhone-4S mobile_installation_proxy[138] &lt;Error&gt;: 0x181000 handle_install: Installation failed: Error Domain=LaunchServicesError Code=0 &quot;The operation couldn’t be completed. (LaunchServicesError error 0.)&quot; UserInfo=0x15d3fc90 {Error=IncorrectArchitecture}
  
  Nov 14 13:09:42 iPhone-4S installd[62] &lt;Error&gt;: 0x25d000 handle_install_for_ls: API failed
  </code></pre>