Universal iPhone static libs


#1

I’ve successful build separate libs using four separate builds:
[list]
[] 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?


#2

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

Etc.

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

Gaspard