title: iPhone external library
body: <p>I have a library I want to use for a project for the iPhone. it has the direction to build it differently for the iPhone and the simulator:</p>
  
  <pre><code>make ARCH=i386 PLATFORM=iPhoneSimulator # Simulator
  make ARCH=armv6 PLATFORM=iPhoneOS # iPhone
  </code></pre>
  
  <p>Each creates a different <code>libName.a</code> file to link with. how can I configure the project in xCode to link a different file for the simulator and the iPhone?</p>