From 4890777dcb6955a24f28df57b1272beea8c1e56d Mon Sep 17 00:00:00 2001 From: Scott Goodson Date: Mon, 6 Jun 2016 11:20:35 -0700 Subject: [PATCH] [Cocoapods] Fix podspec for 1.9.8 to ensure the dependency on PINRemoteImage is fully defined. --- AsyncDisplayKit.podspec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/AsyncDisplayKit.podspec b/AsyncDisplayKit.podspec index 09a9aaaa75..68b44be4a2 100644 --- a/AsyncDisplayKit.podspec +++ b/AsyncDisplayKit.podspec @@ -7,12 +7,19 @@ Pod::Spec.new do |spec| spec.summary = 'Smooth asynchronous user interfaces for iOS apps.' spec.source = { :git => 'https://github.com/facebook/AsyncDisplayKit.git', :tag => '1.9.8' } + spec.dependency 'PINRemoteImage/iOS', '>= 3.0.0-beta.2' + spec.documentation_url = 'http://asyncdisplaykit.org/appledoc/' spec.frameworks = 'AssetsLibrary' spec.weak_frameworks = 'Photos','MapKit' spec.requires_arc = true - + + spec.ios.deployment_target = '7.0' + + # Uncomment when fixed: issues with tvOS build for release 1.9.8 + # spec.tvos.deployment_target = '9.0' + # Subspecs spec.subspec 'Core' do |core| core.public_header_files = [ @@ -53,6 +60,7 @@ Pod::Spec.new do |spec| end spec.subspec 'PINRemoteImage' do |pin| + pin.xcconfig = { "FRAMEWORK_SEARCH_PATHS" => "$(PODS_ROOT)/PINRemoteImage"} pin.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) PIN_REMOTE_IMAGE=1' } pin.dependency 'PINRemoteImage/iOS', '>= 3.0.0-beta.2' pin.dependency 'AsyncDisplayKit/Core' @@ -68,9 +76,4 @@ Pod::Spec.new do |spec| 'CLANG_CXX_LIBRARY' => 'libc++' } - spec.ios.deployment_target = '7.0' - -# Uncomment when fixed: issues with tvOS build for release 1.9.73 -# spec.tvos.deployment_target = '9.0' - end