title: Error: "File was built for archive which is not the architecture being linked (armv7s)"
body: <p>I have built my own Static C++ Library, which is built with the settings:</p>
  
  <ul>
  <li>Architectures: armv7, armv7s</li>
  <li>Build Active Architectures Only: No</li>
  <li>Support Platforms: iOS</li>
  <li>Valid Architectures: armv7, armv7s</li>
  </ul>
  
  <p>The library project builds well and I got the .a file (I have cleaned the build folder and built the project again to be sure my settings were effective).</p>
  
  <p>I have added the library (.a file) to my iOS project, but the project won't build even though I have set the exact same settings on the iOS project:</p>
  
  <ul>
  <li>Architectures: armv7s, armv7</li>
  <li>Build Active Architectures Only: Yes</li>
  <li>Support Platforms: iOS</li>
  <li>Valid Architectures: armv7, armv7s</li>
  </ul>
  
  <p>I keep getting this error:</p>
  
  <blockquote>
    <p><strong>ld: warning: ignoring file</strong> /Users/hidden/Library/Developer/Xcode/DerivedData/HelloWorldCppLib-fomvvtklwijvqicyhahxleiscein/Build/Products/Debug-iphoneos/libHelloWorldCppLib.a, <strong>file was built for archive which is not the architecture being linked (armv7s):</strong> /Users/hidden/Library/Developer/Xcode/DerivedData/HelloWorldCppLib-fomvvtklwijvqicyhahxleiscein/Build/Products/Debug-iphoneos/libHelloWorldCppLib.a</p>
  </blockquote>
  
  <p>What am I missing? It tells me the .a file was not built for armv7s, but that is exactly the settings I built the library with.</p>