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:
+10
@@ -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
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user