Skip to content

Commit 718b82f

Browse files
committed
Bump the deployment target to iOS 9+/macOS 10.11+
1 parent 2700838 commit 718b82f

7 files changed

Lines changed: 21 additions & 25 deletions

File tree

Cartfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github "SDWebImage/SDWebImage" ~> 5.0
1+
github "SDWebImage/SDWebImage" ~> 5.10
22
github "SDWebImage/libavif-Xcode" >= 0.8

Cartfile.resolved

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
github "SDWebImage/SDWebImage" "5.5.1"
1+
github "SDWebImage/SDWebImage" "5.10.2"
22
github "SDWebImage/libaom-Xcode" "1.0.2"
3-
github "SDWebImage/libavif-Xcode" "0.5.3"
3+
github "SDWebImage/libavif-Xcode" "0.8.1"

Example/Podfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
install! 'cocoapods', :generate_multiple_pod_projects => true
22

33
target 'SDWebImageAVIFCoder_Example' do
4-
platform :ios, '8.0'
4+
platform :ios, '9.0'
55
pod 'SDWebImageAVIFCoder', :path => '../'
66
pod 'libavif', :subspecs => ['libaom', 'libdav1d']
77

@@ -11,13 +11,13 @@ target 'SDWebImageAVIFCoder_Example' do
1111
end
1212

1313
target 'SDWebImageAVIFCoder_Example macOS' do
14-
platform :osx, '10.10'
14+
platform :osx, '10.11'
1515
pod 'SDWebImageAVIFCoder', :path => '../'
1616
pod 'libavif', :subspecs => ['libaom', 'libdav1d']
1717
end
1818

1919
target 'SDWebImageAVIFCoder_Example CLI' do
20-
platform :osx, '10.10'
20+
platform :osx, '10.11'
2121
pod 'SDWebImageAVIFCoder', :path => '../'
2222
pod 'libavif', :subspecs => ['libaom', 'libdav1d']
2323
end

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import PackageDescription
66
let package = Package(
77
name: "SDWebImageAVIFCoder",
88
platforms: [
9-
.macOS(.v10_10), .iOS(.v8), .tvOS(.v9), .watchOS(.v2)
9+
.macOS(.v10_11), .iOS(.v9), .tvOS(.v9), .watchOS(.v2)
1010
],
1111
products: [
1212
// Products define the executables and libraries produced by a package, and make them visible to other packages.
@@ -17,7 +17,7 @@ let package = Package(
1717
dependencies: [
1818
// Dependencies declare other packages that this package depends on.
1919
// .package(url: /* package url */, from: "1.0.0"),
20-
.package(url: "https://github.com/SDWebImage/SDWebImage.git", from: "5.1.0"),
20+
.package(url: "https://github.com/SDWebImage/SDWebImage.git", from: "5.10.0"),
2121
.package(url: "https://github.com/SDWebImage/libavif-Xcode.git", from: "0.8.0")
2222
],
2323
targets: [

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ git lfs install
5656

5757
## Requirements
5858

59-
+ iOS 8
60-
+ macOS 10.10
59+
+ iOS 9
60+
+ macOS 10.11
6161
+ tvOS 9.0
6262
+ watchOS 2.0
6363

SDWebImageAVIFCoder.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ Which is built based on the open-sourced libavif codec.
2727
s.author = { 'DreamPiggy' => 'lizhuoli1126@126.com' }
2828
s.source = { :git => 'https://github.com/SDWebImage/SDWebImageAVIFCoder.git', :tag => s.version.to_s }
2929

30-
s.ios.deployment_target = '8.0'
31-
s.osx.deployment_target = '10.10'
30+
s.ios.deployment_target = '9.0'
31+
s.osx.deployment_target = '10.11'
3232
s.tvos.deployment_target = '9.0'
3333
s.watchos.deployment_target = '2.0'
3434

3535
s.source_files = 'SDWebImageAVIFCoder/Classes/**/*', 'SDWebImageAVIFCoder/Module/SDWebImageAVIFCoder.h'
3636
s.public_header_files = 'SDWebImageAVIFCoder/Classes/Public/*.{h,m}', 'SDWebImageAVIFCoder/Module/SDWebImageAVIFCoder.h'
3737
s.private_header_files = 'SDWebImageAVIFCoder/Classes/Private/*.{h,m}'
3838

39-
s.dependency 'SDWebImage', '~> 5.0'
39+
s.dependency 'SDWebImage', '~> 5.10'
4040
s.dependency 'libavif', '>= 0.8'
4141
end

SDWebImageAVIFCoder.xcodeproj/project.pbxproj

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,6 @@
434434
SDKROOT = watchos;
435435
SKIP_INSTALL = YES;
436436
TARGETED_DEVICE_FAMILY = 4;
437-
WATCHOS_DEPLOYMENT_TARGET = 2.0;
438437
};
439438
name = Debug;
440439
};
@@ -464,7 +463,6 @@
464463
SDKROOT = watchos;
465464
SKIP_INSTALL = YES;
466465
TARGETED_DEVICE_FAMILY = 4;
467-
WATCHOS_DEPLOYMENT_TARGET = 2.0;
468466
};
469467
name = Release;
470468
};
@@ -493,7 +491,6 @@
493491
SDKROOT = appletvos;
494492
SKIP_INSTALL = YES;
495493
TARGETED_DEVICE_FAMILY = 3;
496-
TVOS_DEPLOYMENT_TARGET = 9.0;
497494
};
498495
name = Debug;
499496
};
@@ -522,7 +519,6 @@
522519
SDKROOT = appletvos;
523520
SKIP_INSTALL = YES;
524521
TARGETED_DEVICE_FAMILY = 3;
525-
TVOS_DEPLOYMENT_TARGET = 9.0;
526522
};
527523
name = Release;
528524
};
@@ -548,7 +544,6 @@
548544
"@executable_path/../Frameworks",
549545
"@loader_path/Frameworks",
550546
);
551-
MACOSX_DEPLOYMENT_TARGET = 10.10;
552547
PRODUCT_BUNDLE_IDENTIFIER = "org.SDWebImage.SDWebImageAVIFCoder-macOS";
553548
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
554549
SDKROOT = macosx;
@@ -578,7 +573,6 @@
578573
"@executable_path/../Frameworks",
579574
"@loader_path/Frameworks",
580575
);
581-
MACOSX_DEPLOYMENT_TARGET = 10.10;
582576
PRODUCT_BUNDLE_IDENTIFIER = "org.SDWebImage.SDWebImageAVIFCoder-macOS";
583577
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
584578
SDKROOT = macosx;
@@ -638,14 +632,16 @@
638632
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
639633
GCC_WARN_UNUSED_FUNCTION = YES;
640634
GCC_WARN_UNUSED_VARIABLE = YES;
641-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
642-
MACOSX_DEPLOYMENT_TARGET = 10.10;
635+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
636+
MACOSX_DEPLOYMENT_TARGET = 10.11;
643637
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
644638
MTL_FAST_MATH = YES;
645639
ONLY_ACTIVE_ARCH = YES;
646640
SDKROOT = iphoneos;
641+
TVOS_DEPLOYMENT_TARGET = 9.0;
647642
VERSIONING_SYSTEM = "apple-generic";
648643
VERSION_INFO_PREFIX = "";
644+
WATCHOS_DEPLOYMENT_TARGET = 2.0;
649645
};
650646
name = Debug;
651647
};
@@ -695,14 +691,16 @@
695691
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
696692
GCC_WARN_UNUSED_FUNCTION = YES;
697693
GCC_WARN_UNUSED_VARIABLE = YES;
698-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
699-
MACOSX_DEPLOYMENT_TARGET = 10.10;
694+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
695+
MACOSX_DEPLOYMENT_TARGET = 10.11;
700696
MTL_ENABLE_DEBUG_INFO = NO;
701697
MTL_FAST_MATH = YES;
702698
SDKROOT = iphoneos;
699+
TVOS_DEPLOYMENT_TARGET = 9.0;
703700
VALIDATE_PRODUCT = YES;
704701
VERSIONING_SYSTEM = "apple-generic";
705702
VERSION_INFO_PREFIX = "";
703+
WATCHOS_DEPLOYMENT_TARGET = 2.0;
706704
};
707705
name = Release;
708706
};
@@ -721,7 +719,6 @@
721719
);
722720
INFOPLIST_FILE = "$(SRCROOT)/SDWebImageAVIFCoder/Module/Info.plist";
723721
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
724-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
725722
LD_RUNPATH_SEARCH_PATHS = (
726723
"$(inherited)",
727724
"@executable_path/Frameworks",
@@ -749,7 +746,6 @@
749746
);
750747
INFOPLIST_FILE = "$(SRCROOT)/SDWebImageAVIFCoder/Module/Info.plist";
751748
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
752-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
753749
LD_RUNPATH_SEARCH_PATHS = (
754750
"$(inherited)",
755751
"@executable_path/Frameworks",

0 commit comments

Comments
 (0)