title: Build error with Xcode 6 and iPhone 6 and iPhone 4s
body: <p>I am having some build issues with Xcode 6 and cannot get my app to compile for all devices and  simulators at the same time. The issue seems to be related to figuring out the Valid Architectures settings in the build settings, partially explained in other SO threads, but not sufficiently addressing my specific problem.</p>
  
  <p>I am building a Cordova 3.6 app, and working on a MBP Mac OS X 10.9, with Xcode 6.</p>
  
  <p>With the following Build Settings (screenshot below), I get the following build results: </p>
  
  <ul>
  <li><p>Build successful - Simulator - iPhone 4s/iPhone 5s/iPhone 6</p></li>
  <li><p>Build successful - Devices - iPhone 4s (iPhone 5s device not tested)</p></li>
  <li><p>Build FAILS      - Devices - iPhone 6</p></li>
  </ul>
  
  <p>My build settings and error for building for the above results are as follows:</p>
  
  <p><img src="https://i.stack.imgur.com/aDCqR.png" alt="Build Settings"></p>
  
  <p><img src="https://i.stack.imgur.com/hX9Cp.jpg" alt="Error"></p>
  
  <p>However, if I change the <strong>Valid Architectures</strong> and remove "arm64", and change <strong>Build Active Architecture Only</strong> to "No", then my build works for all devices but fails for simulators for iPhone 5s and iPhone 6. I get the following build results:</p>
  
  <ul>
  <li><p>Build successful - Simulator - iPhone 4s</p></li>
  <li><p>Build FAILS      - Simulator - iPhone 5s / iPhone 6</p></li>
  <li><p>Build successful - Devices - iPhone 4s / iPhone 6 (iPhone 5s device not tested)</p></li>
  </ul>
  
  <p>I have the following questions:</p>
  
  <ol>
  <li>Can someone explain what's going on? How can removing "arm64" actually allow me to build for  iPhone 6 device?</li>
  <li>What can I do to make sure I can run on ALL simulators AND devices?</li>
  <li>Should I even bother about making it run on all simulators and devices? This is my first pending submission to the App store, so I'm not sure what I need to be successfully building for. If I can build successfully for iPhone 4s and iPhone 6 devices, do I need to worry about getting them to work on each simulator perfectly?</li>
  </ol>
  
  <p>Thanks in advance for the help!</p>