Why:
#ifdef SOME_TARGET_FLAG
<some code here>
#elseifdef SOME_ANOTHER_TARGET_FLAG
<some another code here>
#endif
-D<FLAG_NAME>
Is #elseifdef directive not supported by Xcode?
It is not. Use this instead:
#elif defined(SOME_ANOTHER_TARGET_FLAG)