Skip to content

Commit 7518f73

Browse files
authored
Merge pull request #5 from SDWebImage/platform_version
Bump libwebp for Apple platform min deployment target version, to fix the Xcode 12 error
2 parents 86c1b5d + e5b21b0 commit 7518f73

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

Package.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ import PackageDescription
55

66
let package = Package(
77
name: "libwebp",
8+
platforms: [
9+
.macOS(.v10_10), .iOS(.v8), .tvOS(.v9), .watchOS(.v2)
10+
],
811
products: [
912
// Products define the executables and libraries produced by a package, and make them visible to other packages.
1013
.library(

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This also contains the Swift Package Manager support
1111
## Requirements
1212

1313
+ iOS 8
14-
+ macOS 10.6
14+
+ macOS 10.10
1515
+ tvOS 9.0
1616
+ watchOS 2.0
1717

libwebp.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Pod::Spec.new do |s|
1010
s.compiler_flags = '-D_THREAD_SAFE'
1111
s.requires_arc = false
1212

13-
s.osx.deployment_target = '10.8'
14-
s.ios.deployment_target = '6.0'
13+
s.osx.deployment_target = '10.10'
14+
s.ios.deployment_target = '8.0'
1515
s.tvos.deployment_target = '9.0'
1616
s.watchos.deployment_target = '2.0'
1717

libwebp.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,7 @@
983983
GCC_WARN_UNUSED_VARIABLE = YES;
984984
HEADER_SEARCH_PATHS = libwebp;
985985
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
986-
MACOSX_DEPLOYMENT_TARGET = 10.6;
986+
MACOSX_DEPLOYMENT_TARGET = 10.10;
987987
MTL_ENABLE_DEBUG_INFO = YES;
988988
ONLY_ACTIVE_ARCH = YES;
989989
SDKROOT = macosx;
@@ -1057,7 +1057,7 @@
10571057
GCC_WARN_UNUSED_VARIABLE = YES;
10581058
HEADER_SEARCH_PATHS = libwebp;
10591059
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1060-
MACOSX_DEPLOYMENT_TARGET = 10.6;
1060+
MACOSX_DEPLOYMENT_TARGET = 10.10;
10611061
MTL_ENABLE_DEBUG_INFO = NO;
10621062
SDKROOT = macosx;
10631063
SUPPORTED_PLATFORMS = "macosx iphonesimulator iphoneos appletvos appletvsimulator watchos watchsimulator";

0 commit comments

Comments
 (0)