I have created an IOS build for flutter for the app store and generated its archive which resulted in a huge 90 MB .ipa file. I searched a lot on the net that how can I reduce IPA file size but didn't got any suitable answers. I tried several methods like :
Does switching my Xcode project from Swift to Objective-C will reduce my .ipa file size? I am using several third party libraries in my Flutter app, are they responsible for this huge size?
cupertino_icons: ^0.1.2
gradient_app_bar: ^0.1.3
url_launcher: ^5.1.2
easy_localization: ^1.3.0+1
http: ^0.12.0+2
connectivity: ^0.4.4
fluttertoast: ^3.1.3
carousel_slider: ^1.3.0
image_picker: ^0.6.1+4
flutter_barcode_scanner: ^0.1.5+1
Did you try using --split-debug-info=
at the end of your build command?
As of Flutter 1.17
you will find a 20% app size reduction,
Also Obfuscating you code will decrease your app size https://flutter.dev/docs/deployment/obfuscate
Tip! in flutter 1.17 they improves app performance by 50% on iOS
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