I have application APP and library LIB. APP uses LIB. I have 2 versions of LIB: one compiled for “iOS device”, and second compiled for iPhone 5.0 Simulator.
Now I want to include this LIB in my APP project. When I set APP scheme to iOS Device, then I need to use LIB for iOS Device, and analogically with iPhone 5.0 Simulator scheme.
Every time when I change APP scheme, I have to delete inproper LIB library and add proper LIB library to my workspace. In my opinion this is very annoying.
Is there any solution to link different libraries depending on scheme (iOS device / Simulator) or configuration (Debug / Release)?
If you have two version of the same library, for each architecture, you can use
lipoon the terminal to put them into one universal library…Which you can add to your project for both architectures and it will work fine.