When I add a preprocessor macro in Xcode 4 to one of my goals, it is used, and conditional compilation happens as I expect.
However, if I transfer this setting to the project level and from one of my goals, the preprocessor macro is apparently ignored and not used at all.
I checked that the macro is defined in general if I put it in the build configuration of the project through a log that only compiles when this macro is enabled.
How can it be?
System: OS X Lion, Xcode 4.1 build 4B110, for iOS 4.3.5, using the LLVM compiler, not GCC.
source share