From 9d30e14a4b8121b4044a83e53e2b7c209465a16a Mon Sep 17 00:00:00 2001 From: rzen Date: Sun, 9 Aug 2026 05:52:29 -0400 Subject: [PATCH] =?UTF-8?q?The=20QuickLook=20extension=20stamps=20its=20bu?= =?UTF-8?q?ild=20number=20like=20its=20host=20=E2=80=94=20an=20embedded=20?= =?UTF-8?q?appex=20must=20match=20CFBundleVersion=20for=20CFBundleVersion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Claude-Session: https://claude.ai/code/session_014PtZdPwqZuqEDLc6wZMtEy --- project.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/project.yml b/project.yml index ad1eb12..d5535f7 100644 --- a/project.yml +++ b/project.yml @@ -171,6 +171,16 @@ targets: PRODUCT_MODULE_NAME: KanbanQuickLook # `$(inherited)` keeps the configuration's own `DEBUG` — this only *adds* the layer gate. 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 #