iOS worker became slower lately?

Hi there,

I’ve noticed the “Install Dependencies” task on iOS builds got much slower lately.
It went from 10 (Oct 19, 2021 8:25 PM) to 20 (Oct 27, 2021 4:41 PM) minutes approximately.

Same SDK version: 42.0.0.
Same VM template: macos-big-sur-11.4-xcode-12.5.

I’ve also noticed the same project (exact same code version) on Android still takes 10 mins.

I guess it could be due to a changed VM config?

The main issues I’ve been facing is all iOS builds fails due to the 1 hour timeout (can this be extended somehow?).

Info

  • bare workflow
  • eas-cli@0.33.1

Any help is much appreciated.

Thanks,
Ema

minimal app on Ios builds under 10 minutes, most iOS builds take between 10-20 minutes. I think that it’s sth in your project that you can optimize.

Assuming it’s not issue with your project config there might be few options

  • “Install Dependencies” is just running yarn/npm install, if you are using yarn there is a bug there that does not allow to override registry URL, as a result, your builds are not using cache you can switch to npm or try this workaround Integrating with third-party tooling - Expo Documentation
  • 2 days ago we switched host machines that run builds you might get better performance if you run builds
  • check if you don’t have malicious version of the package https://github.com/faisalman/ua-parser-js/issues/536, that one specific version ran crypto miner in postinstall script
  • in the future, we might provide plan with a higher build time limit, but it’s not sth we have discussed yet
1 Like

thanks @wkozyra, since yesterday installation times on iOS halved (I made two builds so far), so it’s back to 10 mins (which is in line with what we get in azure pipelines we already use for web on the same project).

I’ll investigate why running fast lane takes another 20 mins (this hasn’t changed since I started using EAS).

(regarding the security issue I’d already checked the day it was made public)