fix: build number 1 -> 2, and stop xcodegen silently resetting it
Some checks failed
CI / Build · Debug (push) Has been cancelled
CI / Build · Release (push) Has been cancelled

CFBundleVersion/CFBundleShortVersionString weren't declared in
project.yml's properties block, so xcodegen defaulted them to "1"/"1.0"
on every regenerate regardless of CURRENT_PROJECT_VERSION/
MARKETING_VERSION — bumping the build setting silently did nothing.
Declared both explicitly (matching how CFBundleIdentifier and
CFBundleExecutable already reference build settings), so version bumps
now actually reach the compiled app. Verified: CFBundleVersion "2" in
the built binary's Info.plist.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Kutesir
2026-07-13 03:42:14 +03:00
parent bb067df482
commit 3a6f1bbdd8
2 changed files with 5 additions and 3 deletions

View File

@@ -22,9 +22,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>1</string>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>tailscale</string>