I'm building an iPhone app that has to run on both the simulator and the device. However I'm using an externally compiled library that has one version for the simulator and one for the device (different CPU).
How can I do it? I'm coming from Visual C++ so I'm new to Xcode, and I can't find the way to do it.