Xcode is still baffling.

Dear Lazyweb,

I have an Xcode project that builds multiple Loadable Bundles for MacOS. Under the "Architectures" setting, I have "Debug" and "Release" lines, and compiled output shows up under the build/Debug/ or build/Release/ directories. So far so good.

Now I also want to be able to compile that same code for iOS. I'd expect the output to show up under build/Debug-iphonesimulator/ or somesuch.

How do I accomplish this?

I would like the answer to not be, "copy the entire Xcode project" or "have two targets for each bundle". Since the difference between compiling for "Debug" and for "Release" is the same as the difference between compiling for Mac and iOS -- it's just compiler options -- I should be able to do this with the same target, right?

Maybe when I say "Target" I really mean "Scheme" or "Destination" or "Product", because I have no fucking idea what Xcode actually means by any of those words any more.

Xcode 4.3.2, MacOS 10.7.4.

Tags: , , ,