From 4d013200dab32bba1c385101ce5ce5bc0fc6f20f Mon Sep 17 00:00:00 2001 From: Karin Berg Date: Mon, 2 Oct 2023 12:27:59 +0200 Subject: [PATCH 1/3] Update iOS, MacOS, tvOS and watchOS to oldest possible version --- SwinjectAutoregistration.podspec | 8 +++---- .../project.pbxproj | 22 ++++++++++--------- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/SwinjectAutoregistration.podspec b/SwinjectAutoregistration.podspec index ce45541..5c53f8f 100644 --- a/SwinjectAutoregistration.podspec +++ b/SwinjectAutoregistration.podspec @@ -11,10 +11,10 @@ SwinjectAutoregistration is an extension of Swinject that allows to automaticall s.author = 'Swinject Contributors' s.source = { :git => 'https://github.com/Swinject/SwinjectAutoregistration.git', :tag => s.version.to_s } - s.ios.deployment_target = '9.0' - s.osx.deployment_target = '10.10' - s.watchos.deployment_target = '2.0' - s.tvos.deployment_target = '9.0' + s.ios.deployment_target = '11.0' + s.osx.deployment_target = '10.13' + s.watchos.deployment_target = '4.0' + s.tvos.deployment_target = '11.0' s.requires_arc = true s.swift_version = '5.0' s.source_files = 'Sources/**/*.{swift,h}' diff --git a/SwinjectAutoregistration.xcodeproj/project.pbxproj b/SwinjectAutoregistration.xcodeproj/project.pbxproj index 21c810e..17cddcc 100644 --- a/SwinjectAutoregistration.xcodeproj/project.pbxproj +++ b/SwinjectAutoregistration.xcodeproj/project.pbxproj @@ -931,7 +931,7 @@ SWIFT_TREAT_WARNINGS_AS_ERRORS = NO; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 2.0; + WATCHOS_DEPLOYMENT_TARGET = 4.0; }; name = Debug; }; @@ -997,7 +997,7 @@ SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 4; VALIDATE_PRODUCT = YES; - WATCHOS_DEPLOYMENT_TARGET = 2.0; + WATCHOS_DEPLOYMENT_TARGET = 4.0; }; name = Release; }; @@ -1044,7 +1044,7 @@ "$(PROJECT_DIR)/Carthage/Build/iOS", ); INFOPLIST_FILE = Sources/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; PRODUCT_BUNDLE_IDENTIFIER = "com.swinject.SwinjectAutoregistration-iOS"; }; name = Debug; @@ -1058,7 +1058,7 @@ "$(PROJECT_DIR)/Carthage/Build/iOS", ); INFOPLIST_FILE = Sources/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; PRODUCT_BUNDLE_IDENTIFIER = "com.swinject.SwinjectAutoregistration-iOS"; }; name = Release; @@ -1184,7 +1184,7 @@ ); INFOPLIST_FILE = Sources/Info.plist; PRODUCT_BUNDLE_IDENTIFIER = "org.swinject.SwinjectAutoregistration-watchOS"; - WATCHOS_DEPLOYMENT_TARGET = 2.0; + WATCHOS_DEPLOYMENT_TARGET = 4.0; }; name = Debug; }; @@ -1198,7 +1198,7 @@ ); INFOPLIST_FILE = Sources/Info.plist; PRODUCT_BUNDLE_IDENTIFIER = "org.swinject.SwinjectAutoregistration-watchOS"; - WATCHOS_DEPLOYMENT_TARGET = 2.0; + WATCHOS_DEPLOYMENT_TARGET = 4.0; }; name = Release; }; @@ -1212,7 +1212,7 @@ ); INFOPLIST_FILE = Sources/Info.plist; PRODUCT_BUNDLE_IDENTIFIER = "org.swinject.SwinjectAutoregistration-tvOS"; - TVOS_DEPLOYMENT_TARGET = 9.0; + TVOS_DEPLOYMENT_TARGET = 11.0; }; name = Debug; }; @@ -1226,7 +1226,7 @@ ); INFOPLIST_FILE = Sources/Info.plist; PRODUCT_BUNDLE_IDENTIFIER = "org.swinject.SwinjectAutoregistration-tvOS"; - TVOS_DEPLOYMENT_TARGET = 9.0; + TVOS_DEPLOYMENT_TARGET = 11.0; }; name = Release; }; @@ -1348,6 +1348,7 @@ "$(PROJECT_DIR)/Carthage/Build", ); INFOPLIST_FILE = Sources/Info.plist; + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_BUNDLE_IDENTIFIER = "org.swinject.SwinjectAutoregistration-OSX"; }; name = Debug; @@ -1361,6 +1362,7 @@ "$(PROJECT_DIR)/Carthage/Build", ); INFOPLIST_FILE = Sources/Info.plist; + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_BUNDLE_IDENTIFIER = "org.swinject.SwinjectAutoregistration-OSX"; }; name = Release; @@ -1414,7 +1416,7 @@ "@executable_path/../Frameworks", "@loader_path/../Frameworks", ); - MACOSX_DEPLOYMENT_TARGET = 10.11; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; PRODUCT_BUNDLE_IDENTIFIER = "org.swinject.SwinjectAutoregistration-OSXTests"; @@ -1468,7 +1470,7 @@ "@executable_path/../Frameworks", "@loader_path/../Frameworks", ); - MACOSX_DEPLOYMENT_TARGET = 10.11; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = NO; PRODUCT_BUNDLE_IDENTIFIER = "org.swinject.SwinjectAutoregistration-OSXTests"; PRODUCT_NAME = "$(TARGET_NAME)"; From da0564f402f9698d792a4a4e0f8ac042b7002d34 Mon Sep 17 00:00:00 2001 From: Karin Berg Date: Mon, 2 Oct 2023 12:28:36 +0200 Subject: [PATCH 2/3] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ab62838..3901424 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ SwinjectAutoregistration is an extension of Swinject that allows to automaticall ## Requirements -- iOS 9.0+ / Mac OS X 10.10+ / tvOS 9.0+ -- Xcode 8+ +- iOS 11.0+ / Mac OS X 10.13+ / tvOS 11.0+ +- Xcode 14.3+ ## Installation @@ -36,7 +36,7 @@ To install Swinject with CocoaPods, add the following lines to your `Podfile`. ```ruby source 'https://github.com/CocoaPods/Specs.git' -platform :ios, '9.0' # or platform :osx, '10.10' if your target is OS X. +platform :ios, '11.0' # or platform :osx, '10.13' if your target is OS X. use_frameworks! pod 'Swinject', '2.8.3' From c8f265e7d86a8f93b24940336c0c9f635e19ad14 Mon Sep 17 00:00:00 2001 From: Karin Berg Date: Wed, 4 Oct 2023 09:11:22 +0200 Subject: [PATCH 3/3] Update the version to 2.8.4 and use Swinject 2.8.4 --- .Package.test.swift | 2 +- Cartfile | 2 +- Cartfile.resolved | 2 +- Package.swift | 4 ++-- README.md | 10 +++++----- Sources/Info.plist | 2 +- SwinjectAutoregistration.podspec | 4 ++-- Tests/Info.plist | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.Package.test.swift b/.Package.test.swift index e64aec9..5751dea 100644 --- a/.Package.test.swift +++ b/.Package.test.swift @@ -10,7 +10,7 @@ let package = Package( targets: ["SwinjectAutoregistration"]) ], dependencies: [ - .package(url: "https://github.com/Swinject/Swinject.git", from: "2.8.3") + .package(url: "https://github.com/Swinject/Swinject.git", from: "2.8.4") ], targets: [ .target( diff --git a/Cartfile b/Cartfile index adbf5fd..89f533c 100644 --- a/Cartfile +++ b/Cartfile @@ -1 +1 @@ -github "Swinject/Swinject" ~> 2.8.3 +github "Swinject/Swinject" ~> 2.8.4 diff --git a/Cartfile.resolved b/Cartfile.resolved index 8ff2535..1bc368f 100644 --- a/Cartfile.resolved +++ b/Cartfile.resolved @@ -1 +1 @@ -github "Swinject/Swinject" "2.8.3" +github "Swinject/Swinject" "2.8.4" diff --git a/Package.swift b/Package.swift index 38521cb..1d8d5af 100644 --- a/Package.swift +++ b/Package.swift @@ -12,10 +12,10 @@ let package = Package( name: "SwinjectAutoregistration-Dynamic", type: .dynamic, targets: ["SwinjectAutoregistration"]) - + ], dependencies: [ - .package(url: "https://github.com/Swinject/Swinject.git", from: "2.8.3") + .package(url: "https://github.com/Swinject/Swinject.git", from: "2.8.4") ], targets: [ .target( diff --git a/README.md b/README.md index 3901424..c56ed75 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,8 @@ Swinject is available through [Carthage](https://github.com/Carthage/Carthage), To install Swinject with Carthage, add the following line to your `Cartfile`. ``` -github "Swinject/Swinject" "2.8.3" -github "Swinject/SwinjectAutoregistration" "2.8.3" +github "Swinject/Swinject" "2.8.4" +github "Swinject/SwinjectAutoregistration" "2.8.4" ``` Then run `carthage update --use-xcframeworks --no-use-binaries` command or just `carthage update --use-xcframeworks`. For details of the installation and usage of Carthage, visit [its project page](https://github.com/Carthage/Carthage). @@ -39,8 +39,8 @@ source 'https://github.com/CocoaPods/Specs.git' platform :ios, '11.0' # or platform :osx, '10.13' if your target is OS X. use_frameworks! -pod 'Swinject', '2.8.3' -pod 'SwinjectAutoregistration', '2.8.3' +pod 'Swinject', '2.8.4' +pod 'SwinjectAutoregistration', '2.8.4' ``` Then run `pod install` command. For details of the installation and usage of CocoaPods, visit [its official website](https://cocoapods.org). @@ -51,7 +51,7 @@ in `Package.swift` add the following: ```swift dependencies: [ - .package(url: "https://github.com/Swinject/SwinjectAutoregistration.git", from: "2.8.3") + .package(url: "https://github.com/Swinject/SwinjectAutoregistration.git", from: "2.8.4") ], targets: [ .target( diff --git a/Sources/Info.plist b/Sources/Info.plist index fffca57..27e84f9 100644 --- a/Sources/Info.plist +++ b/Sources/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 2.8.3 + 2.8.4 CFBundleSignature ???? CFBundleVersion diff --git a/SwinjectAutoregistration.podspec b/SwinjectAutoregistration.podspec index 5c53f8f..f0f0a9a 100644 --- a/SwinjectAutoregistration.podspec +++ b/SwinjectAutoregistration.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'SwinjectAutoregistration' - s.version = "2.8.3" + s.version = "2.8.4" s.summary = 'Autoregistration for Swinject' s.description = <<-DESC SwinjectAutoregistration is an extension of Swinject that allows to automatically inject dependencies into registered services. @@ -18,5 +18,5 @@ SwinjectAutoregistration is an extension of Swinject that allows to automaticall s.requires_arc = true s.swift_version = '5.0' s.source_files = 'Sources/**/*.{swift,h}' - s.dependency 'Swinject', '~> 2.8.3' + s.dependency 'Swinject', '~> 2.8.4' end diff --git a/Tests/Info.plist b/Tests/Info.plist index df54098..4f51f53 100644 --- a/Tests/Info.plist +++ b/Tests/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 2.8.3 + 2.8.4 CFBundleSignature ???? CFBundleVersion