Skip to content

Give the Apple Watch app the phone app's version and build number - #97

Merged
hatstand merged 1 commit into
mainfrom
claude/watch-bundle-version
Nov 18, 2026
Merged

hatstand merged 1 commit into
mainfrom
claude/watch-bundle-version

Conversation

@hatstand

Copy link
Copy Markdown
Contributor

Requested by John · project thread

Fixes the TestFlight upload after #46 (run 44418216393), which App Store Connect refused:

CFBundleVersion Mismatch. The CFBundleVersion value '1' of watch application 'Clementine Remote.app/Watch/ClementineRemoteWatch.app' does not match the CFBundleVersion value '324' of its containing iOS application 'Clementine Remote.app'. (90379)

Changes

  • The watch app's Info.plist takes CFBundleShortVersionString and CFBundleVersion from MARKETING_VERSION and CURRENT_PROJECT_VERSION, set in project.yml as the app and the widget do. scripts/archive.sh already sets both for each build.
  • scripts/archive.sh's check of the exported .ipa also compares the version and build number of each bundle inside the app (the widget and the watch app) with the app's, so a mismatch fails the build rather than the upload.

Independent of #94, which can merge before or after.

Testing

CI builds the app. The archive and its check only run on main, so the TestFlight run after this merges is the test.


Generated by Claude Code

TestFlight refused the first build with the watch app inside: its
Info.plist had a fixed CFBundleVersion of 1, and App Store Connect
wants a watch app's to be its phone app's (error 90379). It now takes
MARKETING_VERSION and CURRENT_PROJECT_VERSION, as the app and the
widget do, which scripts/archive.sh sets for each build. The archive's
check now also compares the versions of the bundles inside the app, so
a mismatch fails there rather than on upload.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R2bAq5cvLWgAnGu2dW6vr4
@hatstand hatstand self-assigned this Nov 18, 2026
@hatstand
hatstand enabled auto-merge (rebase) November 18, 2026 23:41
@hatstand
hatstand merged commit 025b93b into main Nov 18, 2026
6 checks passed
@hatstand
hatstand deleted the claude/watch-bundle-version branch November 18, 2026 23:50
@github-actions

Copy link
Copy Markdown

Screenshots

From run 44420143790, against a real Clementine. Left: main. Right: this pull request, light and dark.

Screen main This PR This PR, dark
01_connect
02_queue
03_player
04_connection
05_settings
06_library
07_library_album
08_search
09_outputs
10_internet
11_internet_radio
fold_outer_player –

Screens at a failure

dark_failure

failure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants