Repository navigation
fix(sender): keep footer and bundle build numbers in sync - #219
Merged
swellweb merged 1 commit intoNov 12, 2026
Merged
Conversation
Use Xcode's resolved build version for the generated footer and forward explicit TB_SENDER_BUILD overrides through the packaging helper. Extend the existing version regression test to cover CFBundleVersion.
This was referenced Oct 17, 2026
This was referenced Nov 9, 2026
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.
A normal build of the 3.6.1 candidate can show a timestamp in the Sender footer while CFBundleVersion retains CURRENT_PROJECT_VERSION. TB_SENDER_BUILD also previously changed the generated Swift value without overriding the bundle build setting, so the same app could report two different build identifiers.
Generate the footer from Xcode's resolved CURRENT_PROJECT_VERSION. The packaging helper forwards a nonempty TB_SENDER_BUILD as that build setting, rejecting malformed explicit overrides before generation or compilation. With no override, Xcode retains control of project and configuration-specific values. Extend the existing version test to compare CFBundleVersion with the generated build number, and regenerate the checked-in Xcode project.
Build-number policy: the footer now reports the configured bundle build number, rather than inventing a fresh timestamp on each build. Release automation remains responsible for selecting or incrementing that number. TB_SENDER_BUILD is supported by the packaging helper; direct xcodebuild invocations should use CURRENT_PROJECT_VERSION.
Base: maint-3.6 at 6fa46ac. Four files, 12 additions and 2 deletions; a packaging follow-up to #217 / #218.
Validation of the final patch:
Scope of validation: development packages were built in an isolated workspace and not launched or installed. The focused XCTest ran in a CLI host, not the production app host; the full app-hosted suite was compiled but not executed. Existing compiler warnings in unchanged code remain. These checks do not establish installed-update permission continuity or satisfy the hardware publication gate in #218.