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 #