Merge pull request #5 from SDWebImage/platform_version

Bump libwebp for Apple platform min deployment target version, to fix the Xcode 12 error
This commit is contained in:
DreamPiggy 2021-02-19 15:01:41 +08:00 committed by GitHub
commit 7518f7361c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 5 deletions

View File

@ -5,6 +5,9 @@ import PackageDescription
let package = Package( let package = Package(
name: "libwebp", name: "libwebp",
platforms: [
.macOS(.v10_10), .iOS(.v8), .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.
.library( .library(

View File

@ -11,7 +11,7 @@ This also contains the Swift Package Manager support
## Requirements ## Requirements
+ iOS 8 + iOS 8
+ macOS 10.6 + macOS 10.10
+ tvOS 9.0 + tvOS 9.0
+ watchOS 2.0 + watchOS 2.0

View File

@ -10,8 +10,8 @@ Pod::Spec.new do |s|
s.compiler_flags = '-D_THREAD_SAFE' s.compiler_flags = '-D_THREAD_SAFE'
s.requires_arc = false s.requires_arc = false
s.osx.deployment_target = '10.8' s.osx.deployment_target = '10.10'
s.ios.deployment_target = '6.0' s.ios.deployment_target = '8.0'
s.tvos.deployment_target = '9.0' s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '2.0' s.watchos.deployment_target = '2.0'

View File

@ -983,7 +983,7 @@
GCC_WARN_UNUSED_VARIABLE = YES; GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = libwebp; HEADER_SEARCH_PATHS = libwebp;
IPHONEOS_DEPLOYMENT_TARGET = 8.0; IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MACOSX_DEPLOYMENT_TARGET = 10.6; MACOSX_DEPLOYMENT_TARGET = 10.10;
MTL_ENABLE_DEBUG_INFO = YES; MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES; ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx; SDKROOT = macosx;
@ -1057,7 +1057,7 @@
GCC_WARN_UNUSED_VARIABLE = YES; GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = libwebp; HEADER_SEARCH_PATHS = libwebp;
IPHONEOS_DEPLOYMENT_TARGET = 8.0; IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MACOSX_DEPLOYMENT_TARGET = 10.6; MACOSX_DEPLOYMENT_TARGET = 10.10;
MTL_ENABLE_DEBUG_INFO = NO; MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx; SDKROOT = macosx;
SUPPORTED_PLATFORMS = "macosx iphonesimulator iphoneos appletvos appletvsimulator watchos watchsimulator"; SUPPORTED_PLATFORMS = "macosx iphonesimulator iphoneos appletvos appletvsimulator watchos watchsimulator";