I'm trying to define the type of the build by using those 3 variables, but for some reason, it always uses the first one. Any ideas?
// Pay attention: only ONE of these modes MUST be chosen.
//
//
#define DEVELOPMENT 0
#define PRODUCTION 1
#define STORE 0
This is how I use it:
#ifdef DEVELOPMENT
NSLog(@"Development version built.");
#elif STORE
NSLog(@"Store version built.");
#else
NSLog(@"Distribution version built.");
#endif
It's always entering the first ifdef..