I have a Objective-C Cocoa Touch Static Library, which (depending on the schema/target - i.e. MyProject > iOS Device or MyProject > iPhone 5.1 Simulator) builds specific libMyProject.a archive which I can re-use/share with other projects. Generally it works fine, however, I have to build for iPhone 5.1 Simulator and use this libMyProject.a in another project but only if this other project is going to run in Simulator. If attempt to use this .a but build the other project for iOS Device I am getting build errors claiming that library was not built/linked for this project settings.
So the question is, how do I build "unified" Cocoat Touch Static Library's libMyProject.a which I can re-use in other projects regardless how I build the other project?
I hope this all makes sense, or if not, I'll be happy to clarify.
Thanks.