Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Commit 4890777

Browse files
committed
[Cocoapods] Fix podspec for 1.9.8 to ensure the dependency on PINRemoteImage is fully defined.
1 parent 58d7a18 commit 4890777

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

AsyncDisplayKit.podspec

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,19 @@ Pod::Spec.new do |spec|
77
spec.summary = 'Smooth asynchronous user interfaces for iOS apps.'
88
spec.source = { :git => 'https://github.com/facebook/AsyncDisplayKit.git', :tag => '1.9.8' }
99

10+
spec.dependency 'PINRemoteImage/iOS', '>= 3.0.0-beta.2'
11+
1012
spec.documentation_url = 'http://asyncdisplaykit.org/appledoc/'
1113

1214
spec.frameworks = 'AssetsLibrary'
1315
spec.weak_frameworks = 'Photos','MapKit'
1416
spec.requires_arc = true
15-
17+
18+
spec.ios.deployment_target = '7.0'
19+
20+
# Uncomment when fixed: issues with tvOS build for release 1.9.8
21+
# spec.tvos.deployment_target = '9.0'
22+
1623
# Subspecs
1724
spec.subspec 'Core' do |core|
1825
core.public_header_files = [
@@ -53,6 +60,7 @@ Pod::Spec.new do |spec|
5360
end
5461

5562
spec.subspec 'PINRemoteImage' do |pin|
63+
pin.xcconfig = { "FRAMEWORK_SEARCH_PATHS" => "$(PODS_ROOT)/PINRemoteImage"}
5664
pin.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) PIN_REMOTE_IMAGE=1' }
5765
pin.dependency 'PINRemoteImage/iOS', '>= 3.0.0-beta.2'
5866
pin.dependency 'AsyncDisplayKit/Core'
@@ -68,9 +76,4 @@ Pod::Spec.new do |spec|
6876
'CLANG_CXX_LIBRARY' => 'libc++'
6977
}
7078

71-
spec.ios.deployment_target = '7.0'
72-
73-
# Uncomment when fixed: issues with tvOS build for release 1.9.73
74-
# spec.tvos.deployment_target = '9.0'
75-
7679
end

0 commit comments

Comments
 (0)