title: Apps building with Xcode 4.2 could not be installed in iPhone 3G
body: <p>I create a brand new <strong>Single View Application</strong> iPhone app in Xcode 4.2, it only shows the gray  screen.</p>
  
  <p>When I build the app, I get the warning:  </p>
  
  <pre><code>BWARN]warning: iPhone apps with a deployment target lower than 4.3 should include an armv6 architecture (current IPHONEOS_DEPLOYMENT_TARGET = "3.0", ARCHS = "armv7").
  </code></pre>
  
  <p>I followed <a href="https://stackoverflow.com/questions/6810205/iphone-apps-with-a-deployment-target-lower-than-4-3-should-include-an-armv6-arch">this SO</a> , <a href="https://stackoverflow.com/questions/6955987/xcode-4-2-iphone-3g-cant-run-app">this SO</a> and <a href="https://stackoverflow.com/questions/7760946/possible-to-target-older-ios-versions-when-using-xcode-4-2-and-ios-5-sdk">this SO</a> to fix the warning.</p>
  
  <p>My build settings are:  </p>
  
  <ul>
  <li>Architectures: <strong>armv6, armv7</strong>    </li>
  <li>Base SDK: <strong>Latest iOS (iOS 5.0)</strong>  </li>
  <li>iOS Deployment Target: <strong>iOS 3.0</strong>  </li>
  </ul>
  
  <p>The <strong>Required device capabilities</strong> values in the Info.plist are <strong>armv6, armv7</strong>.</p>
  
  <p>I make an Ad Hoc distribution of the app (this app only shows a gray screen) and put it on iTunes.  </p>
  
  <ol>
  <li>When I installed the app into 2 iPhone4 (one having iOS 4, one having iOS 5), it works fine.  </li>
  <li>When I installed the app into iPhone 3GS (having iOS 4), it works fine.</li>
  <li>But<br>
  when I try to install the app into 2 iPhone 3G (one having iOS 4.2.1, one having iOS 3.0),<br>
  the app was not installed and I received this message.</li>
  </ol>
  
  <p><strong>The app "SingleViewApplication" was not installed on the iPhone XXXXX because it is not compatible with this iPhone.</strong></p>
  
  <p>Do you know how to make iPhone 3G be able to run apps build with Xcode 4.2?</p>