title: iOS - file was built for archive which is not the architecture being linked (i386)
body: <p>I got a few static libraries I want to use in my iphone app. When I try to run the simulator I get linking errrors.
  I am new to iOS development, and I ran into this problem when linking against libraries I built previously;</p>
  
  <pre><code>file was built for archive which is not the architecture being linked (i386)
  </code></pre>
  
  <p>Which means all the functions I reference from those libraries gives me this:</p>
  
  <pre><code>undefined symbols for architectyre i386
  </code></pre>
  
  <p>I am not sure what to configure to make this right. The static libraries are build for armv7, supporteed platforms armv6 armv7. </p>