Files
purchases-ios/Projects/RevenueCatUI
Facundo MenzellaandClaude Sonnet 4.6 c9670102d9 Add TUIST_SWIFT_CONDITIONS for injecting compiler flags at project generation time (#6661)
* Add TUIST_SWIFT_CONDITIONS env var for injecting compiler flags at generation time

Introduces a generic mechanism to pass arbitrary Swift active compilation
conditions when generating Xcode projects via Tuist. Any target generated
through the Tuist Xcode project mode (TUIST_RC_XCODE_PROJECT=true) will
pick up the flags automatically.

Usage:
  TUIST_RC_XCODE_PROJECT=true TUIST_SWIFT_CONDITIONS="MY_FLAG" tuist generate PaywallsTester
  TUIST_RC_XCODE_PROJECT=true TUIST_SWIFT_CONDITIONS="FLAG_A FLAG_B" tuist generate

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Rename appendingExtraSwiftConditions to appendingTuistSwiftConditions

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 14:46:26 +00:00
..