From fd9be66a2742bef22a9d59d1e37e881481e6814a Mon Sep 17 00:00:00 2001 From: hztanxin Date: Mon, 19 Jun 2023 17:22:16 +0800 Subject: [PATCH] feat: marketing version --- Podfile.lock | 2 +- XPaste.xcodeproj/project.pbxproj | 2 ++ XPaste/Info.plist | 2 +- XPasteExtension/Info.plist | 2 +- XSortExtension/Info.plist | 40 ++++++++++++++++---------------- 5 files changed, 25 insertions(+), 23 deletions(-) diff --git a/Podfile.lock b/Podfile.lock index 4db8d1c..3a4329c 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -1,3 +1,3 @@ PODFILE CHECKSUM: 1c8356a7a5ffd2ad12c10699e91b012fa085c0ef -COCOAPODS: 1.10.0 +COCOAPODS: 1.11.0 diff --git a/XPaste.xcodeproj/project.pbxproj b/XPaste.xcodeproj/project.pbxproj index d309e17..ca99b7e 100644 --- a/XPaste.xcodeproj/project.pbxproj +++ b/XPaste.xcodeproj/project.pbxproj @@ -589,6 +589,7 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; MACOSX_DEPLOYMENT_TARGET = 10.13; + MARKETING_VERSION = 1.4; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; @@ -642,6 +643,7 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; MACOSX_DEPLOYMENT_TARGET = 10.13; + MARKETING_VERSION = 1.4; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SDKROOT = macosx; diff --git a/XPaste/Info.plist b/XPaste/Info.plist index a5ad73e..7f7835b 100644 --- a/XPaste/Info.plist +++ b/XPaste/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.3 + $(MARKETING_VERSION) CFBundleVersion 1 LSApplicationCategoryType diff --git a/XPasteExtension/Info.plist b/XPasteExtension/Info.plist index 1b891c5..a627333 100644 --- a/XPasteExtension/Info.plist +++ b/XPasteExtension/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType XPC! CFBundleShortVersionString - 1.0 + $(MARKETING_VERSION) CFBundleVersion 1 LSMinimumSystemVersion diff --git a/XSortExtension/Info.plist b/XSortExtension/Info.plist index d361dca..3e1aee2 100644 --- a/XSortExtension/Info.plist +++ b/XSortExtension/Info.plist @@ -2,6 +2,26 @@ + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleDisplayName + XSort + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + XPC! + CFBundleShortVersionString + $(MARKETING_VERSION) + CFBundleVersion + 1 + LSMinimumSystemVersion + $(MACOSX_DEPLOYMENT_TARGET) NSExtension NSExtensionAttributes @@ -31,26 +51,6 @@ NSExtensionPointIdentifier com.apple.dt.Xcode.extension.source-editor - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleDisplayName - XSort - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - XPC! - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - LSMinimumSystemVersion - $(MACOSX_DEPLOYMENT_TARGET) NSHumanReadableCopyright Copyright © 2018年 XcoderTips. All rights reserved.