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

Commit dfaf3b9

Browse files
committed
Merge pull request #1716 from garrettmoon/removeRequirementForPINRemoteImage
Missed #def ing out the header I guess?
2 parents 4890777 + 7358fa9 commit dfaf3b9

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

AsyncDisplayKit.podspec

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ 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-
1210
spec.documentation_url = 'http://asyncdisplaykit.org/appledoc/'
1311

1412
spec.frameworks = 'AssetsLibrary'
@@ -60,7 +58,6 @@ Pod::Spec.new do |spec|
6058
end
6159

6260
spec.subspec 'PINRemoteImage' do |pin|
63-
pin.xcconfig = { "FRAMEWORK_SEARCH_PATHS" => "$(PODS_ROOT)/PINRemoteImage"}
6461
pin.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) PIN_REMOTE_IMAGE=1' }
6562
pin.dependency 'PINRemoteImage/iOS', '>= 3.0.0-beta.2'
6663
pin.dependency 'AsyncDisplayKit/Core'

AsyncDisplayKit/Details/ASPINRemoteImageDownloader.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
// Copyright © 2016 Facebook. All rights reserved.
77
//
88

9+
#if PIN_REMOTE_IMAGE
10+
911
#import <Foundation/Foundation.h>
1012
#import "ASImageProtocols.h"
1113
#import <PINRemoteImage/PINRemoteImageManager.h>
@@ -21,3 +23,5 @@ NS_ASSUME_NONNULL_BEGIN
2123
@end
2224

2325
NS_ASSUME_NONNULL_END
26+
27+
#endif

AsyncDisplayKit/Details/ASPINRemoteImageDownloader.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2016 Facebook. All rights reserved.
77
//
88

9-
#ifdef PIN_REMOTE_IMAGE
9+
#if PIN_REMOTE_IMAGE
1010
#import "ASPINRemoteImageDownloader.h"
1111

1212
#import "ASAssert.h"

0 commit comments

Comments
 (0)