Problem again with user-defined setting

This was something I needed so much help with in this post

https://developer.apple.com/forums/thread/666997

I want to add a user defined setting. As I did (from the answer in the previous post, I made sure I was adding in SWIFTACTIVECOMPILATION_CONDITIONS

I added MYDEBUG01, which does not work. This is in Xcode 12.4

I put up both projects in a picture, the one where it does work is the bottom one, MYSCENES. This was in Xcode 11.x

The screens do look a little different, but can't figure out where my error is.

Here is the screenshot
http:// 98.7.37.117/index.html


Answered by OOPer in 660879022

I made sure I was adding in SWIFTACTIVECOMPILATION_CONDITIONS

As far as I tried in one of my project with Xcode 12.4, SWIFT_ACTIVE_COMPILATION_CONDITIONS is shown in Swift Compiler - Custom Flags section of Build Settings as Active Compilation Conditions.

Not in User-Defined.
Not sure if Xcode has moved it or you had done it wrong. But please try add one in Active Compilation Conditions.
Accepted Answer

I made sure I was adding in SWIFTACTIVECOMPILATION_CONDITIONS

As far as I tried in one of my project with Xcode 12.4, SWIFT_ACTIVE_COMPILATION_CONDITIONS is shown in Swift Compiler - Custom Flags section of Build Settings as Active Compilation Conditions.

Not in User-Defined.
Not sure if Xcode has moved it or you had done it wrong. But please try add one in Active Compilation Conditions.
You were right, but only because your answer made me realize that I was searching under

Code Block
SWIFTACTIVECOMPILATION_CONDITIONS

rather than

Code Block
SWIFT_ACTIVE_COMPILATION_CONDITIONS


But I thank you much the same.
Problem again with user-defined setting
 
 
Q