Merge pull request #48 from SDWebImage/xcode11

Bumped the min deployment target to iOS 9+, Xcode to Xcode 11
This commit is contained in:
DreamPiggy 2020-11-23 11:08:12 +08:00 committed by GitHub
commit b70876b797
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 14 deletions

View File

@ -6,7 +6,7 @@ import PackageDescription
let package = Package( let package = Package(
name: "SDWebImageWebPCoder", name: "SDWebImageWebPCoder",
platforms: [ platforms: [
.macOS(.v10_10), .iOS(.v8), .tvOS(.v9), .watchOS(.v2) .macOS(.v10_11), .iOS(.v9), .tvOS(.v9), .watchOS(.v2)
], ],
products: [ products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages. // 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: [
// Dependencies declare other packages that this package depends on. // Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"), // .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") .package(url: "https://github.com/SDWebImage/libwebp-Xcode.git", from: "1.1.0")
], ],
targets: [ targets: [

View File

@ -5,13 +5,13 @@ test_project_path = 'Tests/SDWebImageWebPCoderTests'
workspace 'SDWebImageWebPCoder.xcworkspace' workspace 'SDWebImageWebPCoder.xcworkspace'
target 'SDWebImageWebPCoderExample' do target 'SDWebImageWebPCoderExample' do
platform :ios, '8.0' platform :ios, '9.0'
project example_project_path project example_project_path
pod 'SDWebImageWebPCoder', :path => './' pod 'SDWebImageWebPCoder', :path => './'
end end
target 'SDWebImageWebPCoderTests' do target 'SDWebImageWebPCoderTests' do
platform :ios, '8.0' platform :ios, '9.0'
project test_project_path project test_project_path
pod 'Expecta' pod 'Expecta'
pod 'SDWebImageWebPCoder', :path => './' pod 'SDWebImageWebPCoder', :path => './'

View File

@ -14,8 +14,8 @@ SDWebImageWebPCoder supports both WebP decoding and encoding, for Static WebP or
## Requirements ## Requirements
+ iOS 8 + iOS 9.0
+ macOS 10.10 + macOS 10.11
+ tvOS 9.0 + tvOS 9.0
+ watchOS 2.0 + watchOS 2.0

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'SDWebImageWebPCoder' s.name = 'SDWebImageWebPCoder'
s.version = '0.6.1' s.version = '0.7.0'
s.summary = 'WebP decoder/encoder for SDWebImage coder plugin.' s.summary = 'WebP decoder/encoder for SDWebImage coder plugin.'
s.description = <<-DESC 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.author = { 'Bogdan Poplauschi' => 'bpoplauschi@gmail.com' }
s.source = { :git => 'https://github.com/SDWebImage/SDWebImageWebPCoder.git', :tag => s.version.to_s } s.source = { :git => 'https://github.com/SDWebImage/SDWebImageWebPCoder.git', :tag => s.version.to_s }
s.ios.deployment_target = '8.0' s.ios.deployment_target = '9.0'
s.osx.deployment_target = '10.10' s.osx.deployment_target = '10.11'
s.tvos.deployment_target = '9.0' s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '2.0' s.watchos.deployment_target = '2.0'
s.module_map = 'SDWebImageWebPCoder/Module/SDWebImageWebPCoder.modulemap' 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', 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1 WEBP_USE_INTRINSICS=1',
'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/libwebp/src' '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' s.dependency 'libwebp', '~> 1.0'
end end

View File

@ -514,8 +514,8 @@
GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES; GCC_WARN_UNUSED_VARIABLE = YES;
INFOPLIST_FILE = SDWebImageWebPCoder/Module/Info.plist; INFOPLIST_FILE = SDWebImageWebPCoder/Module/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0; IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MACOSX_DEPLOYMENT_TARGET = 10.10; MACOSX_DEPLOYMENT_TARGET = 10.11;
MTL_ENABLE_DEBUG_INFO = YES; MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES; ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = org.SDWebImage.SDWebImageWebPCoder; PRODUCT_BUNDLE_IDENTIFIER = org.SDWebImage.SDWebImageWebPCoder;
@ -589,8 +589,8 @@
GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES; GCC_WARN_UNUSED_VARIABLE = YES;
INFOPLIST_FILE = SDWebImageWebPCoder/Module/Info.plist; INFOPLIST_FILE = SDWebImageWebPCoder/Module/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0; IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MACOSX_DEPLOYMENT_TARGET = 10.10; MACOSX_DEPLOYMENT_TARGET = 10.11;
MTL_ENABLE_DEBUG_INFO = NO; MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = org.SDWebImage.SDWebImageWebPCoder; PRODUCT_BUNDLE_IDENTIFIER = org.SDWebImage.SDWebImageWebPCoder;
PRODUCT_NAME = SDWebImageWebPCoder; PRODUCT_NAME = SDWebImageWebPCoder;