The QuickLook extension stamps its build number like its host — an embedded appex must match CFBundleVersion for CFBundleVersion

Claude-Session: https://claude.ai/code/session_014PtZdPwqZuqEDLc6wZMtEy
This commit is contained in:
2026-08-09 05:52:29 -04:00
parent 2f45201412
commit 9d30e14a4b
+10
View File
@@ -171,6 +171,16 @@ targets:
PRODUCT_MODULE_NAME: KanbanQuickLook PRODUCT_MODULE_NAME: KanbanQuickLook
# `$(inherited)` keeps the configuration's own `DEBUG` — this only *adds* the layer gate. # `$(inherited)` keeps the configuration's own `DEBUG` — this only *adds* the layer gate.
SWIFT_ACTIVE_COMPILATION_CONDITIONS: $(inherited) STORAGE_ONLY SWIFT_ACTIVE_COMPILATION_CONDITIONS: $(inherited) STORAGE_ONLY
# An embedded extension's CFBundleVersion must equal its host's, and the host's is stamped
# from the git commit count — so the extension stamps itself the same way, before embedding.
postBuildScripts:
- script: '"${SRCROOT}/../indie-skills/skills/app-versioning/scripts/update_build_info.sh"'
name: Update Build Info
shell: /bin/sh
basedOnDependencyAnalysis: false
inputFiles:
- $(TARGET_BUILD_DIR)/$(INFOPLIST_PATH)
- $(DWARF_DSYM_FOLDER_PATH)/$(DWARF_DSYM_FILE_NAME)/Contents/Info.plist
# MARK: - Lanework for iPhone # MARK: - Lanework for iPhone
# #