From 05f94e7be3db6437668be7f386b84559050d5841 Mon Sep 17 00:00:00 2001 From: Christian Tietze Date: Tue, 14 Nov 2023 22:15:09 +0100 Subject: [PATCH 1/4] Update KPCTabsControl.podspec to v5 --- KPCTabsControl.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KPCTabsControl.podspec b/KPCTabsControl.podspec index fe5c11a..8f64e3a 100644 --- a/KPCTabsControl.podspec +++ b/KPCTabsControl.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "KPCTabsControl" - s.version = "4.0.2" + s.version = "5.0.0" s.summary = "A multi-tabs control with enhanced capabilities, and custom styles." s.homepage = "https://github.com/onekiloparsec/KPCTabsControl.git" s.license = { :type => 'MIT', :file => 'LICENSE' } From dd1f8b21ea4041083bdd07f49ba501c200d54869 Mon Sep 17 00:00:00 2001 From: Christian Tietze Date: Tue, 14 Nov 2023 22:18:53 +0100 Subject: [PATCH 2/4] bump Xcode library version --- KPCTabsControl.xcodeproj/project.pbxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/KPCTabsControl.xcodeproj/project.pbxproj b/KPCTabsControl.xcodeproj/project.pbxproj index bfc6cab..6e6ecd6 100644 --- a/KPCTabsControl.xcodeproj/project.pbxproj +++ b/KPCTabsControl.xcodeproj/project.pbxproj @@ -656,7 +656,7 @@ INFOPLIST_FILE = KPCTabsControl/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MARKETING_VERSION = 4.0.1; + MARKETING_VERSION = 5.0.0; PRODUCT_BUNDLE_IDENTIFIER = "com.onekiloparsec.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; @@ -681,7 +681,7 @@ INFOPLIST_FILE = KPCTabsControl/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MARKETING_VERSION = 4.0.1; + MARKETING_VERSION = 5.0.0; PRODUCT_BUNDLE_IDENTIFIER = "com.onekiloparsec.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; From 06829f057d217cdc9905cd9885e746f9abf15da6 Mon Sep 17 00:00:00 2001 From: Christian Tietze Date: Tue, 14 Nov 2023 22:19:43 +0100 Subject: [PATCH 3/4] bump macOS deployment target to Xcode's modern minimum --- KPCTabsControl.xcodeproj/project.pbxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/KPCTabsControl.xcodeproj/project.pbxproj b/KPCTabsControl.xcodeproj/project.pbxproj index 6e6ecd6..6c35f0f 100644 --- a/KPCTabsControl.xcodeproj/project.pbxproj +++ b/KPCTabsControl.xcodeproj/project.pbxproj @@ -548,7 +548,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.11; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; @@ -597,7 +597,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.11; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; From 3286041cf0ac3a15d2f152f8e0dbfb34161f688c Mon Sep 17 00:00:00 2001 From: Christian Tietze Date: Tue, 14 Nov 2023 22:20:38 +0100 Subject: [PATCH 4/4] update Xcode project settings --- KPCTabsControl.xcodeproj/project.pbxproj | 56 ++++++++++++++++--- .../xcschemes/KPCTabsControl.xcscheme | 2 +- .../xcschemes/KPCTabsControlDemo.xcscheme | 2 +- 3 files changed, 49 insertions(+), 11 deletions(-) diff --git a/KPCTabsControl.xcodeproj/project.pbxproj b/KPCTabsControl.xcodeproj/project.pbxproj index 6c35f0f..18854e5 100644 --- a/KPCTabsControl.xcodeproj/project.pbxproj +++ b/KPCTabsControl.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 48; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -358,8 +358,9 @@ 9F2155AC1A002E6C00819BDF /* Project object */ = { isa = PBXProject; attributes = { + BuildIndependentTargetsInParallel = YES; LastSwiftUpdateCheck = 1010; - LastUpgradeCheck = 1220; + LastUpgradeCheck = 1500; ORGANIZATIONNAME = "Cédric Foellmi"; TargetAttributes = { 9F45CD8F1D396D4200149654 = { @@ -531,6 +532,7 @@ CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = NO; + DEAD_CODE_STRIPPING = YES; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu99; @@ -586,6 +588,7 @@ CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = YES; + DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; @@ -600,7 +603,8 @@ MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; SWIFT_VERSION = 5.0; }; name = Release; @@ -612,10 +616,14 @@ CLANG_ANALYZER_NONNULL = YES; CODE_SIGN_IDENTITY = "-"; COMBINE_HIDPI_IMAGES = YES; + DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = dwarf; GCC_NO_COMMON_BLOCKS = YES; INFOPLIST_FILE = KPCTabsControlDemo/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = com.onekiloparsec.KPCTabsControlDemo; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; @@ -630,9 +638,13 @@ CODE_SIGN_IDENTITY = "-"; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = NO; + DEAD_CODE_STRIPPING = YES; GCC_NO_COMMON_BLOCKS = YES; INFOPLIST_FILE = KPCTabsControlDemo/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = com.onekiloparsec.KPCTabsControlDemo; PRODUCT_NAME = "$(TARGET_NAME)"; }; @@ -644,10 +656,12 @@ CLANG_ENABLE_MODULES = YES; COMBINE_HIDPI_IMAGES = YES; CURRENT_PROJECT_VERSION = 1; + DEAD_CODE_STRIPPING = YES; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_MODULE_VERIFIER = YES; FRAMEWORK_VERSION = A; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", @@ -655,8 +669,14 @@ ); INFOPLIST_FILE = KPCTabsControl/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/Frameworks", + ); MARKETING_VERSION = 5.0.0; + MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; + MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11"; PRODUCT_BUNDLE_IDENTIFIER = "com.onekiloparsec.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; @@ -673,15 +693,23 @@ COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = NO; CURRENT_PROJECT_VERSION = 1; + DEAD_CODE_STRIPPING = YES; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_MODULE_VERIFIER = YES; FRAMEWORK_VERSION = A; INFOPLIST_FILE = KPCTabsControl/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/Frameworks", + ); MARKETING_VERSION = 5.0.0; + MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; + MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11"; PRODUCT_BUNDLE_IDENTIFIER = "com.onekiloparsec.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; @@ -701,10 +729,15 @@ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CODE_SIGN_STYLE = Manual; COMBINE_HIDPI_IMAGES = YES; + DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = dwarf; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = KPCTabsControlTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/../Frameworks", + ); MACOSX_DEPLOYMENT_TARGET = 10.14; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; @@ -727,9 +760,14 @@ CODE_SIGN_STYLE = Manual; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = NO; + DEAD_CODE_STRIPPING = YES; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = KPCTabsControlTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/../Frameworks", + ); MACOSX_DEPLOYMENT_TARGET = 10.14; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = com.onekiloparsec.KPCTabsControlTests; diff --git a/KPCTabsControl.xcodeproj/xcshareddata/xcschemes/KPCTabsControl.xcscheme b/KPCTabsControl.xcodeproj/xcshareddata/xcschemes/KPCTabsControl.xcscheme index 1b8e79b..c981b03 100644 --- a/KPCTabsControl.xcodeproj/xcshareddata/xcschemes/KPCTabsControl.xcscheme +++ b/KPCTabsControl.xcodeproj/xcshareddata/xcschemes/KPCTabsControl.xcscheme @@ -1,6 +1,6 @@