How to add flutter run time arguments to Xcode

838

add EXTRA_FRONT_END_OPTIONS in User-Defined in Build Settings. value is --no-sound-null-safety

Share:
838
BIS Tech
Author by

BIS Tech

Updated on December 29, 2022

Comments

  • BIS Tech
    BIS Tech over 1 year

    When I am running a flutter app I need to add this argument. Otherwise, the app is not working.

    --no-sound-null-safety

    Example:

    flutter build apk --no-sound-null-safety
    

    or

    flutter run --no-sound-null-safety
    

    It's easy to add on android studio. (Edit configurations..). But, I didn't know how to add this kind of argument on Xcode?

  • maxpill
    maxpill over 2 years
    It doesn't work unfortunately on CI/CD (bitrise)
  • BIS Tech
    BIS Tech over 2 years
    you have add that value on bitrise.