iOS EAS build become very slow, every another build went timeout

  • Whether you are bare or managed workflow
    managed
  • Your eas-cli version
    eas-cli/2.7.1 darwin-arm64 node-v16.14.2
  • What you have tried so far
    Build same App 9 times, 5 success, 4 timeout. average took 40 mins+

Hi there, recently we start to submit some EAS iOS build and notice the build time become much longer than before, 3 months ago our same App build time average took only 25 mins, now it took 40 mins+, up until now we submitted 9 build, 4 went timeout. We did changed our project structure to Monorepo, but our App’s dependency have’t changed beside upgrade to SDK 47, we are not familiar with Application build process, is there any way we can improve our App build time or is there some tricks when building App within Monorepo? Thank you.

the build time increases as you add more dependencies to your app. if you have unnecessary dependencies you can remove them. 10 minutes for installing pods is a very long time, i’d enable timestamps and investigate where that is coming from. a quick glance at your project and it looks like gRPC is taking a long time to download and compile (3 minutes just to install the pod!). you can also increase the timeout to 2 hours by signing up for a paid plan. lastly, we’re working on rolling out m1 (which may have some speed improvements) and larger workers (which will significantly impact build times, but will only be available for paid plans).

Hi Brents, thank you very much for the reply, we will review our dependency see if can remove some unused one.