Post

Replies

Boosts

Views

Activity

XCConfig not refreshing until Xcode is restarted
ReleaseConfig.xcconfig: GCC_PREPROCESSOR_DEFINITIONS = $(inherited) MY_TESTapp code: #ifdef MY_TEST #error ye #else #error oy #endifCompiling with the above configuration is resulting with error 'ye', as expected.If I then change ReleaseConfig.xcconfig to be: GCC_PREPROCESSOR_DEFINITIONS = $(inherited) MY_TEST1234and 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?
4
0
1.7k
Mar ’23
XCConfig not refreshing until Xcode is restarted
ReleaseConfig.xcconfig: GCC_PREPROCESSOR_DEFINITIONS = $(inherited) MY_TESTapp code: #ifdef MY_TEST #error ye #else #error oy #endifCompiling with the above configuration is resulting with error 'ye', as expected.If I then change ReleaseConfig.xcconfig to be: GCC_PREPROCESSOR_DEFINITIONS = $(inherited) MY_TEST1234and 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?
Replies
4
Boosts
0
Views
1.7k
Activity
Mar ’23