Skip to content

Commit 683bacc

Browse files
committed
Bumped the min deployment target to iOS 9+, Xcode to Xcode 11
1 parent 0243f02 commit 683bacc

5 files changed

Lines changed: 17 additions & 18 deletions

File tree

Cartfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
github "SDWebImage/SDWebImage" ~> 5.6
1+
github "SDWebImage/SDWebImage" ~> 5.10

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: "SDWebImagePDFCoder",
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.6.0")
20+
.package(url: "https://github.com/SDWebImage/SDWebImage.git", from: "5.10.0")
2121
],
2222
targets: [
2323
// Targets are the basic building blocks of a package. A target can define a module or a test suite.

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ You can modify the code or use some other PDF files to check the compatibility.
1818

1919
## Requirements
2020

21-
+ iOS 8+
21+
+ iOS 9+
2222
+ tvOS 9+
23-
+ macOS 10.10+
23+
+ macOS 10.11+
2424
+ watchOS 2+
25+
+ Xcode 11+
2526

2627
## Installation
2728

SDWebImagePDFCoder.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ SDWebImageSVGCoder is a SVG coder plugin for SDWebImage framework, which provide
2626
s.author = { 'DreamPiggy' => 'lizhuoli1126@126.com' }
2727
s.source = { :git => 'https://github.com/SDWebImage/SDWebImagePDFCoder.git', :tag => s.version.to_s }
2828

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

3434
s.source_files = 'SDWebImagePDFCoder/Classes/**/*', 'SDWebImagePDFCoder/Module/SDWebImagePDFCoder.h'
@@ -39,5 +39,5 @@ SDWebImageSVGCoder is a SVG coder plugin for SDWebImage framework, which provide
3939
'DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER' => 'NO'
4040
}
4141

42-
s.dependency 'SDWebImage', '~> 5.6'
42+
s.dependency 'SDWebImage', '~> 5.10'
4343
end

SDWebImagePDFCoder.xcodeproj/project.pbxproj

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,6 @@
395395
SDKROOT = watchos;
396396
SKIP_INSTALL = YES;
397397
TARGETED_DEVICE_FAMILY = 4;
398-
WATCHOS_DEPLOYMENT_TARGET = 2.0;
399398
};
400399
name = Debug;
401400
};
@@ -424,7 +423,6 @@
424423
SDKROOT = watchos;
425424
SKIP_INSTALL = YES;
426425
TARGETED_DEVICE_FAMILY = 4;
427-
WATCHOS_DEPLOYMENT_TARGET = 2.0;
428426
};
429427
name = Release;
430428
};
@@ -480,13 +478,16 @@
480478
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
481479
GCC_WARN_UNUSED_FUNCTION = YES;
482480
GCC_WARN_UNUSED_VARIABLE = YES;
483-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
481+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
482+
MACOSX_DEPLOYMENT_TARGET = 10.11;
484483
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
485484
MTL_FAST_MATH = YES;
486485
ONLY_ACTIVE_ARCH = YES;
487486
SDKROOT = iphoneos;
487+
TVOS_DEPLOYMENT_TARGET = 9.0;
488488
VERSIONING_SYSTEM = "apple-generic";
489489
VERSION_INFO_PREFIX = "";
490+
WATCHOS_DEPLOYMENT_TARGET = 2.0;
490491
};
491492
name = Debug;
492493
};
@@ -536,13 +537,16 @@
536537
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
537538
GCC_WARN_UNUSED_FUNCTION = YES;
538539
GCC_WARN_UNUSED_VARIABLE = YES;
539-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
540+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
541+
MACOSX_DEPLOYMENT_TARGET = 10.11;
540542
MTL_ENABLE_DEBUG_INFO = NO;
541543
MTL_FAST_MATH = YES;
542544
SDKROOT = iphoneos;
545+
TVOS_DEPLOYMENT_TARGET = 9.0;
543546
VALIDATE_PRODUCT = YES;
544547
VERSIONING_SYSTEM = "apple-generic";
545548
VERSION_INFO_PREFIX = "";
549+
WATCHOS_DEPLOYMENT_TARGET = 2.0;
546550
};
547551
name = Release;
548552
};
@@ -561,7 +565,6 @@
561565
);
562566
INFOPLIST_FILE = "$(SRCROOT)/SDWebImagePDFCoder/Module/Info.plist";
563567
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
564-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
565568
LD_RUNPATH_SEARCH_PATHS = (
566569
"$(inherited)",
567570
"@executable_path/Frameworks",
@@ -589,7 +592,6 @@
589592
);
590593
INFOPLIST_FILE = "$(SRCROOT)/SDWebImagePDFCoder/Module/Info.plist";
591594
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
592-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
593595
LD_RUNPATH_SEARCH_PATHS = (
594596
"$(inherited)",
595597
"@executable_path/Frameworks",
@@ -627,7 +629,6 @@
627629
SDKROOT = appletvos;
628630
SKIP_INSTALL = YES;
629631
TARGETED_DEVICE_FAMILY = 3;
630-
TVOS_DEPLOYMENT_TARGET = 9.0;
631632
};
632633
name = Debug;
633634
};
@@ -656,7 +657,6 @@
656657
SDKROOT = appletvos;
657658
SKIP_INSTALL = YES;
658659
TARGETED_DEVICE_FAMILY = 3;
659-
TVOS_DEPLOYMENT_TARGET = 9.0;
660660
};
661661
name = Release;
662662
};
@@ -682,7 +682,6 @@
682682
"@executable_path/../Frameworks",
683683
"@loader_path/Frameworks",
684684
);
685-
MACOSX_DEPLOYMENT_TARGET = 10.10;
686685
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.SDWebImagePDFCoder-macOS";
687686
PRODUCT_NAME = SDWebImagePDFCoder;
688687
SDKROOT = macosx;
@@ -712,7 +711,6 @@
712711
"@executable_path/../Frameworks",
713712
"@loader_path/Frameworks",
714713
);
715-
MACOSX_DEPLOYMENT_TARGET = 10.10;
716714
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.SDWebImagePDFCoder-macOS";
717715
PRODUCT_NAME = SDWebImagePDFCoder;
718716
SDKROOT = macosx;

0 commit comments

Comments
 (0)