forked from RestKit/RKTableController
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRKTableController.podspec
50 lines (40 loc) · 1.6 KB
/
RKTableController.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Pod::Spec.new do |s|
s.name = "RKTableController"
s.version = "0.6.14"
s.summary = "RKTableController provides stateful, network integrated UITableViews powered by RestKit."
s.homepage = "https://github.com/RestKit/RKTableController"
s.license = { :type => 'Apache', :file => 'LICENSE'}
s.author = { "Blake Watters" => "[email protected]" }
#s.platform = :ios, '5.1.1'
s.platform = :ios
s.ios.deployment_target = "5.1.1"
s.requires_arc = true
s.source = { :git => "https://github.com/swesteme/RKTableController.git", :tag => "#{s.version}" }
s.source_files = 'Code/*.{h,m}'
s.ios.framework = 'QuartzCore'
s.dependency 'RestKit', '~> 0.27.0'
s.dependency 'RKValueTransformers', '~> 1.1.0'
s.dependency 'ISO8601DateFormatterValueTransformer', '~> 0.6.1'
s.dependency 'AFNetworking', '~> 1.3.0'
s.dependency 'SOCKit'
s.prefix_header_contents = <<-EOS
#import <Availability.h>
#define _AFNETWORKING_PIN_SSL_CERTIFICATES_
#if __IPHONE_OS_VERSION_MIN_REQUIRED
#import <SystemConfiguration/SystemConfiguration.h>
#import <MobileCoreServices/MobileCoreServices.h>
#import <Security/Security.h>
#else
#import <SystemConfiguration/SystemConfiguration.h>
#import <CoreServices/CoreServices.h>
#import <Security/Security.h>
#endif
// This is a workaround for build order problem!!!
// Should be sufficient to import CoreData headers before importing RestKit headers.
#define RKCoreDataIncluded
#import <RestKit/CoreData.h>
#import <CoreData/CoreData.h>
#import <RestKit/RestKit.h>
#import "AFHttpClient.h"
EOS
end