I would like to add the -FIRDebugEnabled argument to enable the debug view on the Firebase console but only when it is a debug or staging build.
I have tried adding CommandLine.arguments.append("-FIRDebugEnabled") in application didFinishLaunchingWithOptions but this does not seem to work, so I think I need to add it during a Build phase or a pre-action in the release scheme. But I can't figure it out.
Thanks in advance!