In your post, please share:
- managed
- eas-cli/2.1.0
- expo sdk 46
Steps:
npx eas-cli build --platform ios --no-wait --clear-cache --non-interactive
We are having issues with builds hanging during fastlane.
Hung build: Build Details — be695108-1981-4baf-8259-85198fea1fed — ea2-base-app — Expo
Successful build: Build Details — 0bf06ef9-ce8e-4353-b849-db19fa173a51 — ea2-base-app — Expo
These builds are from the same commit, yet one was successful and the other was not. The hung builds happen way more frequently than successful builds. Hung builds get to:
Fri, 21 Oct 2022 14:35:21 GMT › Executing EA2BaseApp » Bundle React Native code and images
Fri, 21 Oct 2022 14:35:21 GMT the transform cache was reset.
and then seem to hang indefinitely before we reach the EAS build time out of 2 hours. Successful builds seem to only take about 2 minutes in before moving on to the next line of output:
Fri, 21 Oct 2022 16:39:18 GMT› Executing EA2BaseApp » Bundle React Native code and images
Fri, 21 Oct 2022 16:39:18 GMT the transform cache was reset.
Fri, 21 Oct 2022 16:41:14 GMT
(/Users/expo/Library/Developer/Xcode/DerivedData/EA2BaseApp-gvinwcuptinmgcfwdsyhcofqevah/Build/Intermediates.noindex/ArchiveIntermediates/EA2BaseApp/BuildProductsPath/Release-iphoneos/main.jsbundle:5508:7)
setTimeout(function () { ^ the variable "setTimeout" was not declared in function "logCapturedError"
(warning truncated)
I’ve tried playing around with some caching settings as well as changing the image that iOS uses to build (latest, default, some of the older images as well), but nothing seems to work. Right now, we are stuck submitting builds and then waiting for the build to time out, then clearing the cache and retrying the build until it is successful.
Android builds are unaffected. For reference, the Android build associated with the above iOS builds is here: Build Details — e1d5ade9-6ade-407f-825e-390fcc0174c8 — ea2-base-app — Expo
Any ideas? Thanks so much.