tuist icon indicating copy to clipboard operation
tuist copied to clipboard

Preprocessor Macros (Release and Debug)

Open jesus-mg-ios opened this issue 1 year ago • 1 comments

What happened?

I noticed that by default, tuist is adding the preprocessor macro DEBUG, but in my mind, the preprocessor macro RELEASE was added as well in previous tuist versions. Isn't it?

How do we reproduce it?

Error log

macOS version

14.1.1

Tuist version

4.3.4

Xcode version

15.3.0

jesus-mg-ios avatar Jun 12 '24 09:06 jesus-mg-ios

Hi @jesus-mg-ios Thos preprocessor macros are added automatically based on the flavor of the configuration (debug or release). To my knowledge, we haven't changed anything recently in that area. If you could include a reproducible project along with the behaviour that you expect in Tuist we might be able to help.

pepicrft avatar Jun 17 '24 08:06 pepicrft

Hi, @jesus-mg-ios. I'm Dosu, and I'm helping the tuist team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You asked whether Tuist adds the RELEASE preprocessor macro by default, noting that DEBUG is added automatically.
  • A maintainer explained that preprocessor macros depend on the configuration flavor (debug or release).
  • No recent changes have been made to this behavior.
  • The maintainer requested a reproducible project and expected behavior to assist further.
  • The issue remains unresolved without additional information.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of Tuist by commenting here.
  • Otherwise, I will automatically close this issue in 7 days.

Thanks for your understanding and contribution!

dosubot[bot] avatar Sep 11 '25 16:09 dosubot[bot]