Fix App Store Connect build selection by explicitly specifying version and build number in upload#257
Merged
archubbuck merged 2 commits intomainfrom Jan 31, 2026
Merged
Conversation
…hen uploading to App Store Connect Co-authored-by: archubbuck <3529902+archubbuck@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix release pipeline to select the latest build version
Fix App Store Connect build selection by explicitly specifying version and build number in upload
Jan 30, 2026
There was a problem hiding this comment.
Pull request overview
Ensures Fastlane uploads are explicitly bound to the intended App Store Connect version/build so the correct build is selected during release.
Changes:
- Adds pre-upload logging of the resolved
version_numberandbuild_numberfor traceability. - Passes
app_versionandbuild_numberexplicitly toupload_to_app_storeto avoid App Store Connect associating the upload with an unintended version/build. - Updates iOS versioning documentation with the new explicit upload behavior and troubleshooting guidance.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| ios/App/fastlane/Fastfile | Adds explicit app_version/build_number parameters and logs the version/build prior to upload. |
| docs/IOS_VERSIONING.md | Documents the explicit version/build upload behavior and updates troubleshooting notes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
App Store Connect was selecting Build 1 (version 1.0) instead of the most recent build (e.g., Build 305 with version 1.0.72) despite the release pipeline correctly setting both values in the IPA.
Root Cause
upload_to_app_storewithout explicitapp_versionandbuild_numberparameters doesn't reliably associate the uploaded build with the target version in App Store Connect.Changes
ios/App/fastlane/Fastfile
app_version: version_numberparameter toupload_to_app_storecallbuild_number: build_numberparameter toupload_to_app_storecalldocs/IOS_VERSIONING.md
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.