From 8e81f4273f7f646f943ddb2b3c509b5cdbad9357 Mon Sep 17 00:00:00 2001 From: Bogdan Poplauschi Date: Mon, 13 Jun 2016 09:47:09 +0300 Subject: [PATCH] Added the osx platform to the podspec and set the osx deployment target to 10.8 because of some compiler issues (pod lib lint) --- Examples/SDWebImage Demo.xcodeproj/project.pbxproj | 4 ++-- SDWebImage.podspec | 3 +++ SDWebImage.xcodeproj/project.pbxproj | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Examples/SDWebImage Demo.xcodeproj/project.pbxproj b/Examples/SDWebImage Demo.xcodeproj/project.pbxproj index ee45f863..83a6441f 100644 --- a/Examples/SDWebImage Demo.xcodeproj/project.pbxproj +++ b/Examples/SDWebImage Demo.xcodeproj/project.pbxproj @@ -887,7 +887,7 @@ GCC_WARN_UNUSED_FUNCTION = YES; INFOPLIST_FILE = "SDWebImage OSX Demo/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.11; + MACOSX_DEPLOYMENT_TARGET = 10.8; MTL_ENABLE_DEBUG_INFO = YES; PRODUCT_BUNDLE_IDENTIFIER = "com.dailymotion.SDWebImage-OSX-Demo"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -927,7 +927,7 @@ GCC_WARN_UNUSED_FUNCTION = YES; INFOPLIST_FILE = "SDWebImage OSX Demo/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.11; + MACOSX_DEPLOYMENT_TARGET = 10.8; MTL_ENABLE_DEBUG_INFO = NO; PRODUCT_BUNDLE_IDENTIFIER = "com.dailymotion.SDWebImage-OSX-Demo"; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/SDWebImage.podspec b/SDWebImage.podspec index f205158a..bcdde91f 100644 --- a/SDWebImage.podspec +++ b/SDWebImage.podspec @@ -1,6 +1,7 @@ Pod::Spec.new do |s| s.name = 'SDWebImage' s.version = '3.8.1' + s.osx.deployment_target = '10.8' s.ios.deployment_target = '7.0' s.tvos.deployment_target = '9.0' s.watchos.deployment_target = '2.0' @@ -31,7 +32,9 @@ Pod::Spec.new do |s| end s.subspec 'MapKit' do |mk| + mk.osx.deployment_target = '10.8' mk.ios.deployment_target = '7.0' + mk.tvos.deployment_target = '9.0' mk.source_files = 'SDWebImage/MKAnnotationView+WebCache.*' mk.framework = 'MapKit' mk.dependency 'SDWebImage/Core' diff --git a/SDWebImage.xcodeproj/project.pbxproj b/SDWebImage.xcodeproj/project.pbxproj index 1f6cc3eb..32025ea1 100644 --- a/SDWebImage.xcodeproj/project.pbxproj +++ b/SDWebImage.xcodeproj/project.pbxproj @@ -2274,7 +2274,7 @@ GCC_PREPROCESSOR_DEFINITIONS = "$(inherited)"; INFOPLIST_FILE = WebImage/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.7; + MACOSX_DEPLOYMENT_TARGET = 10.8; MTL_ENABLE_DEBUG_INFO = YES; PRODUCT_BUNDLE_IDENTIFIER = "com.dailymotion.$(PRODUCT_NAME:rfc1034identifier).ios"; PRODUCT_NAME = SDWebImage; @@ -2295,7 +2295,7 @@ ENABLE_STRICT_OBJC_MSGSEND = YES; INFOPLIST_FILE = WebImage/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.7; + MACOSX_DEPLOYMENT_TARGET = 10.8; MTL_ENABLE_DEBUG_INFO = NO; PRODUCT_BUNDLE_IDENTIFIER = "com.dailymotion.$(PRODUCT_NAME:rfc1034identifier).ios"; PRODUCT_NAME = SDWebImage;