ReleaseConfig.xcconfig:
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) MY_TEST
app code:
#ifdef MY_TEST
#error ye
#else
#error oy
#endif
Compiling with the above configuration is resulting with error 'ye', as expected.
If I then change ReleaseConfig.xcconfig to be:
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) MY_TEST1234
and re-compile, I'm still getting 'ye'. But if I quit Xcode and restart it, I'm getting the expected 'oy'.
My Question:
Is there a way to force Xcode to track xcconfig files for changes without the need to exit Xcode?