Skip to content

Commit 8075b60

Browse files
author
Blake Watters
committed
Add prefix_header_contents to avoid warnings about System Configuration and Core Services when building under CocoaPods 0.21
1 parent 6ea2e86 commit 8075b60

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

RKTableController.podspec

+17-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,21 @@ Pod::Spec.new do |s|
1515
s.source_files = 'Code/*.{h,m}'
1616
s.ios.framework = 'QuartzCore'
1717

18-
s.dependency 'RestKit', '>= 0.20.0dev'
18+
s.dependency 'RestKit', '~> 0.20.0'
19+
20+
s.prefix_header_contents = <<-EOS
21+
#import <Availability.h>
22+
23+
#define _AFNETWORKING_PIN_SSL_CERTIFICATES_
24+
25+
#if __IPHONE_OS_VERSION_MIN_REQUIRED
26+
#import <SystemConfiguration/SystemConfiguration.h>
27+
#import <MobileCoreServices/MobileCoreServices.h>
28+
#import <Security/Security.h>
29+
#else
30+
#import <SystemConfiguration/SystemConfiguration.h>
31+
#import <CoreServices/CoreServices.h>
32+
#import <Security/Security.h>
33+
#endif
34+
EOS
1935
end

0 commit comments

Comments
 (0)