eas submit only check build version after building
- Dominant language
- TypeScript
- Stars
- 1.4k
- Forks
- 236
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 91
Description
### Build/Submit details page URL
_No response_
### Summary
I just executed a build with my default build command:
`eas build --platform ios --profile production --auto-submit`
And in the end, after waiting for the paid queue, after waiting for the entire build, i get an error saying this version was already submitted to apple store and the entire time spent and build was discarded.
Ideally, we would optimise this process and save many minutes of people's lives if we checked for the version before building and queuing!
This was actually a bit confusing for me because i thought part of what EAS did was to bump the version but i guess it just bumps the build number and not exactly the version which is what is aborting the command here.
### Managed or bare?
managed
### Environment
Not related to my environment.
### Error output
Waiting for submission to complete. You can press Ctrl+C to exit.
✖ Something went wrong when submitting your app to Apple App Store Connect.
You've already submitted this version of the app.
Versions are identified by CFBundleShortVersionString from Info.plist (expo.version in app.json).
If you're submitting an Expo project built with EAS Build, increment the version (expo.version) in app.json and build the project again.
error: script "eas:ios:submit" exited with code 1
### Reproducible demo or steps to reproduce from a blank project
Build a project with EAS using the same before that was already submited as the error describes.
Contributor guide
Assessment
This issue has not been assessed yet.