Flutter project size - is it normal to have huge iOS and Build folders?

538

yes, it's ok, and one thing you did not notice in flutter is when you run debugging and install the debug apk on your phone the size of the app is greater than 100 or 150 MB.

But there is no problem just push your code on a git repository and it will be between 10 to 30 MB and if you use flutter clean then it should be 5 to 10 MB.

Share:
538
user892028
Author by

user892028

Updated on December 27, 2022

Comments

  • user892028
    user892028 5 months

    I have a Flutter project where the app release files themselves (.ipa and .apk) are only around 10MB each. However, the build folder is 985MB and the iOS folder is 435MB. Bearing in mind I am using a local GIT repository, is this normal? It just seemed very large compared to the app itself.

    • aheze
      aheze over 2 years
      Never used flutter before, but that seems very weird
    • Andrej
      Andrej over 2 years
      Yeah it's perfectly normal. As I can see all of my build folders are close to 1GB.
    • Randal Schwartz
      Randal Schwartz over 2 years
      Yes. Any doubt, just flutter clean and rebuild. If it ends up same size, then that was right. :)
    • Dusan.czh
      Dusan.czh over 1 year
      Just remember to add proper .gitignore file. Here is one for flutter github.com/flutter/flutter/blob/master/.gitignore