Too long chain of profile extensions, make sure "extends" keys do not make a cycle
#2793
Labels
Too long chain of profile extensions, make sure "extends" keys do not make a cycle
#2793
Build/Submit details page URL
No response
Summary
The expo docs for EAS submit and EAS build both seem to encourage using the
"extends"
keyword ineas.json
to share configuration, which would indeed be useful.It looks like EAS build has a maximum "extends" depth of 5, which seems adequate but should really be mentioned in the docs.
EAS submit, on the other hand, has a maximum "extends" depth of 2, which throws an error even for my simple case, especially when one considers that:
Too long chain of profile extensions, make sure "extends" keys do not make a cycle
My eas.json file:
Managed or bare?
managed
Environment
expo-env-info 1.2.1 environment info:
System:
OS: macOS 14.5
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.18.2 - ~/.nvm/versions/node/v18.18.2/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v18.18.2/bin/yarn
npm: 9.8.1 - ~/.nvm/versions/node/v18.18.2/bin/npm
Watchman: 2024.12.02.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.15.2 - /Users/mikecunneen/.rvm/gems/ruby-3.3.5/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 24.2, iOS 18.2, macOS 15.2, tvOS 18.2, visionOS 2.2, watchOS 11.2
Android SDK:
API Levels: 34, 35
Build Tools: 34.0.0, 35.0.0
System Images: android-34 | Google Play ARM 64 v8a
IDEs:
Android Studio: 2024.1 AI-241.18034.62.2412.12266719
Xcode: 16.2/16C5032a - /usr/bin/xcodebuild
npmPackages:
expo: ~51.0.39 => 51.0.39
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.74.5 => 0.74.5
react-native-web: ~0.19.6 => 0.19.12
npmGlobalPackages:
eas-cli: 14.2.0
Expo Workflow: managed
npx expo-doctor
✔ Check package.json for common issues
✔ Check Expo config for common issues
✔ Check native tooling versions
✔ Check if the project meets version requirements for submission to app stores
✔ Check for common project setup issues
✔ Check dependencies for packages that should not be installed directly
✔ Check for app config fields that may not be synced in a non-CNG project
✔ Check for issues with Metro config
✔ Check npm/ yarn versions
✔ Check Expo config (app.json/ app.config.js) schema
✔ Check for legacy global CLI installed locally
✔ Check that native modules do not use incompatible support packages
✔ Check that packages match versions required by installed Expo SDK
✔ Check that native modules use compatible support package versions for installed Expo SDK
Didn't find any issues with the project!
Error output
I don't want to use up my EAS build and submit credits, but it should be easily reproducible with my
eas.json
above when EAS Build is run with thepreview:testflight
profile and--auto-submit
, i.e.:eas build --profile preview:testflight --auto-submit
Here's a (redacted) transcript of my session. Incidentally, the
build
succeeded despite the error but obviously thesubmit
did not work.OUTPUT
Reproducible demo or steps to reproduce from a blank project
See above.
Footnotes
EAS Build > Automate Submissions > Selecting a Submission Profile (https://docs.expo.dev/build/automate-submissions/#selecting-a-submission-profile) ↩
The text was updated successfully, but these errors were encountered: