Universal iPhone static libs

I’ve successful build separate libs using four separate builds:
[] libjuce.a (simulator: i386)[/]
[] libjucedebug.a (simulator: i386)[/]
[] libjuce.a (device: armv6 armv7)[/]
[] libjucedebug.a (device: armv6)[/][/list]

Then lipo’d them into universals (i386 armv6/armv7) this of course saves having to rebuild or use different juce trees for device/simulator testing.

It would be useful if this could be automated in Xcode but I’ve no idea how - anyone?

Maybe by using a special target with script steps, something like:


If you come up with a solution, could you post the xcode project here ?