title: iOS project builds for armv6 when armv7 is specified (target is iOS 5.1)
body: <p>I get a long list of errors that spit out (for every source file I have) linker errors to the <code>.o</code> files (stemming from said sources). The error for every one basically resolves to this:</p>
  
  <p><code>CompiledSource.o, file was built for i386 which is not the architecture being linked (armv7)</code></p>
  
  <p>Except that the issue is actually warning, technically. However, at the end of compilation/linking phase the project refuses to build with a simple <code>Linker command failed with exit code 1</code> error.</p>
  
  <p>I've been spending the past 2 hours trying to figure this one out. </p>
  
  <p>In <code>Targets-&gt;ProjectName-&gt;Architectures-&gt;Valid Architectures</code> I have both armv6 and armv7 selected. I ALSO have my build target set for iOS 5.1. </p>
  
  <p>In my <code>Targets-&gt;ProjectName-&gt;Build Phases-&gt;Copy Bundle Resources</code>, I have all of my resources added (I assume this is where resources such as image and nib/xib files are added). </p>
  
  <p><strong>Is there anything I can do about this?</strong> I've tried cleaning the project, removing all files from <code>DataDerived</code> folder in XCode root, and even cleaning out <code>/var/folders</code>. Admittedly, this project hasn't been touched since at the very latest 2011.</p>
  
  <p>I should note that I'm pretty new to iOS stuff (as well as Xcode). Unfortunately, this project is under an NDA as well so I can't reveal too much info. However, if anyone has any questions I will answer the best I can.</p>