0

I'm trying to branch my code depending on whether the app build is a debug, release, TestFlight, or App Store one. There are 4 different options for specifying Swift compiler flags:

  • Appstore Release
  • Debug
  • Enterprise Release
  • Release.

Which of these four options corresponds to TestFlight builds?

Other Swift Flags

TotoroTotoro
  • 17,524
  • 4
  • 45
  • 76
  • why dont you tell us, what you want to achieve? detecting a test run during a test to alter the execution path sounds purpose defeating. – vikingosegundo Mar 18 '22 at 23:29
  • I want to use a different service endpoint. TF and App Store builds should use prod, and ad-hoc builds should use a different one. – TotoroTotoro Mar 18 '22 at 23:40

0 Answers0