Reputation: 675
I'm trying to setup my flutter app on Codemagic, but it takes about 40~50 minutes to build for IOS, the logs shows that is compiling
files .c
and .cc
, there are a lot of those files been compiling.
Is there a way to make the build faster? Am I missing some configuration?
Upvotes: 3
Views: 2777
Reputation: 216
There are some steps you can take in order to shorten your build time:
Other reasons why building iOS can take such a long time are unfortunately out of our hands, hence Apple making building iOS apps much more complicated than Android and other type of restrictions.
Heres also a nice article about how companies battle the iOS build time: https://medium.com/@SkyscannerEng/hate-to-wait-how-skyscanner-used-module-caching-to-cut-app-build-speed-in-half-e906da1c077e
Upvotes: 5