I am trying to build the ipa of an application, but I am faced an issue.
I need to pass few extra dart-defines
Example build:
flutter build ipa --dart-define=env=DEV --dart-define=host=https://api.dev-example.com
It does not do anything...
When I execute the run command on iOS Device works properly.
Run command Example:
flutter run --dart-define=env=DEV --dart-define=host=https://api.dev-example.com
What I mean.... When I build the ipa, the env and the host are null, when I run the app, with the exact same dart-defines, they get the proper values.
I also tried to put them from xcode, inside the target, encoded with base64, but still they don't work...
Any thoughts?