I need to use one of two different URLs depending on the build target. If I build on the simulator I need to use URLA, on a device URLB.
In Objective C, I used Preprocessor Macros in the .pch file for Debug mode (one for iOS simulator SDK, another for iOS SDK). But now, I use Xcode 6 and I develop in Swift.
How can I change a constant in swift based on the build target?