title: Combine static libraries on Apple
body: <p>I tried the approach in this <a href="https://stackoverflow.com/questions/3821916/how-to-merge-two-ar-static-libraries-into-one">question</a>, but it seems the linux version of <code>ar</code> is not the same as the mac version since I failed to combine the object files again.</p>
  
  <p>What I basically want to do is is merge another static library into my Xcode static library build product via a run-script build phase.</p>
  
  <p>Unfortunately I can't compile the other library directly into my project because it has it's own build system (therefore I use the compiled libs).</p>
  
  <p>I think it should be possible to merge the other library via <code>ar</code> into the Xcode generated library without decompiling the build product. How do I accomplish this?</p>