From b6419df550e495a5b91f199d9b7a2ed0a020bd64 Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Sun, 22 Nov 2020 18:42:56 +0800 Subject: [PATCH] Bumped the min deployment target to iOS 9+, Xcode to Xcode 11 This follows SDWebImage core's changes from v5.10.0 --- Package.swift | 4 ++-- README.md | 4 ++-- SDWebImageWebPCoder.podspec | 8 ++++---- SDWebImageWebPCoder.xcodeproj/project.pbxproj | 8 ++++---- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Package.swift b/Package.swift index 78c55d1..08fbb18 100644 --- a/Package.swift +++ b/Package.swift @@ -6,7 +6,7 @@ import PackageDescription let package = Package( name: "SDWebImageWebPCoder", platforms: [ - .macOS(.v10_10), .iOS(.v8), .tvOS(.v9), .watchOS(.v2) + .macOS(.v10_11), .iOS(.v9), .tvOS(.v9), .watchOS(.v2) ], products: [ // Products define the executables and libraries produced by a package, and make them visible to other packages. @@ -17,7 +17,7 @@ let package = Package( dependencies: [ // Dependencies declare other packages that this package depends on. // .package(url: /* package url */, from: "1.0.0"), - .package(url: "https://github.com/SDWebImage/SDWebImage.git", from: "5.7.0"), + .package(url: "https://github.com/SDWebImage/SDWebImage.git", from: "5.10.0"), .package(url: "https://github.com/SDWebImage/libwebp-Xcode.git", from: "1.1.0") ], targets: [ diff --git a/README.md b/README.md index 9599f05..de72453 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,8 @@ SDWebImageWebPCoder supports both WebP decoding and encoding, for Static WebP or ## Requirements -+ iOS 8 -+ macOS 10.10 ++ iOS 9.0 ++ macOS 10.11 + tvOS 9.0 + watchOS 2.0 diff --git a/SDWebImageWebPCoder.podspec b/SDWebImageWebPCoder.podspec index 2ebe423..c5d68b4 100644 --- a/SDWebImageWebPCoder.podspec +++ b/SDWebImageWebPCoder.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'SDWebImageWebPCoder' - s.version = '0.6.1' + s.version = '0.7.0' s.summary = 'WebP decoder/encoder for SDWebImage coder plugin.' s.description = <<-DESC @@ -12,8 +12,8 @@ This is a SDWebImage coder plugin to support WebP image. s.author = { 'Bogdan Poplauschi' => 'bpoplauschi@gmail.com' } s.source = { :git => 'https://github.com/SDWebImage/SDWebImageWebPCoder.git', :tag => s.version.to_s } - s.ios.deployment_target = '8.0' - s.osx.deployment_target = '10.10' + s.ios.deployment_target = '9.0' + s.osx.deployment_target = '10.11' s.tvos.deployment_target = '9.0' s.watchos.deployment_target = '2.0' s.module_map = 'SDWebImageWebPCoder/Module/SDWebImageWebPCoder.modulemap' @@ -27,7 +27,7 @@ This is a SDWebImage coder plugin to support WebP image. 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1 WEBP_USE_INTRINSICS=1', 'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/libwebp/src' } - s.dependency 'SDWebImage/Core', '~> 5.7' + s.dependency 'SDWebImage/Core', '~> 5.10' s.dependency 'libwebp', '~> 1.0' end diff --git a/SDWebImageWebPCoder.xcodeproj/project.pbxproj b/SDWebImageWebPCoder.xcodeproj/project.pbxproj index 3f0bca1..d4a8813 100644 --- a/SDWebImageWebPCoder.xcodeproj/project.pbxproj +++ b/SDWebImageWebPCoder.xcodeproj/project.pbxproj @@ -514,8 +514,8 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; INFOPLIST_FILE = SDWebImageWebPCoder/Module/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - MACOSX_DEPLOYMENT_TARGET = 10.10; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + MACOSX_DEPLOYMENT_TARGET = 10.11; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; PRODUCT_BUNDLE_IDENTIFIER = org.SDWebImage.SDWebImageWebPCoder; @@ -589,8 +589,8 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; INFOPLIST_FILE = SDWebImageWebPCoder/Module/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - MACOSX_DEPLOYMENT_TARGET = 10.10; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + MACOSX_DEPLOYMENT_TARGET = 10.11; MTL_ENABLE_DEBUG_INFO = NO; PRODUCT_BUNDLE_IDENTIFIER = org.SDWebImage.SDWebImageWebPCoder; PRODUCT_NAME = SDWebImageWebPCoder;