title: Xcode Warning: Ignoring file libxml2.2.dylib, built for unsupported file format which is not the architecture being linked
body: <p>I have been given the task of adding a few features to an iOS app. I checked out the source on SVN to be greeted with over 100 warnings (argh), thankfully I'm down to the last one, which is:</p>
  
  <p><img src="https://i.stack.imgur.com/okDXL.png" alt="Xcode warning"></p>
  
  <p>(The blocked out bits are the client name...).</p>
  
  <p>I believe this warning is saying something along the lines of: 'this XML library is not compatible with the OS architecture that is being linked on the build'.</p>
  
  <p>With the next release, we are supporting only iOS5 and iPhone 4 and above (rather than lower versions of iOS and older iPhones).</p>
  
  <p>So do I change the link architecture? What is the link architecture? How do I change the architecture? Or am I completely on the wrong track?</p>
  
  <p>May be worth mentioning that I am running the latest Xcode, I've added the framework from the Xcode list (link binary with libraries). </p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I only get the message when building from the simulator. It doesn't cause any harm, just winds me up!</p>
  
  <p>Thanks in advance.</p>