I create a fluter module and I want to build it into framework. I use command:
flutter build ios-framework
everything works fine, I got debug ,profile,release 3 modes content. To save time, can I only build release mode? flutter build ios-framework --release not work.
Thanks!
You can find some useful option when you use flutter build ios-framework -h
...
--[no-]debug Whether to produce a framework for the debug build configuration. By default, all build configurations are built.
(defaults to on)
--[no-]profile Whether to produce a framework for the profile build configuration. By default, all build configurations are built.
(defaults to on)
--[no-]release Whether to produce a framework for the release build configuration. By default, all build configurations are built.
(defaults to on)
...
So, you can use flutter build ios-framework --no-debug --no-profile to produce frameworks just for release mode
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With