forked from OliverLetterer/SLRESTfulCoreData
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSLRESTfulCoreData.podspec
51 lines (43 loc) · 1.86 KB
/
SLRESTfulCoreData.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
51
Pod::Spec.new do |spec|
spec.name = 'SLRESTfulCoreData'
spec.version = '1.8.2'
spec.platform = :ios, '6.0'
spec.license = 'MIT'
spec.source = { :git => 'https://github.com/OliverLetterer/SLRESTfulCoreData.git', :tag => spec.version.to_s }
spec.frameworks = 'Foundation', 'UIKit', 'CoreData'
spec.requires_arc = true
spec.homepage = 'https://github.com/OliverLetterer/SLRESTfulCoreData'
spec.summary = 'Objc naming conventions, autogenerated accessors at runtime, URL substitutions and intelligent attribute mapping.'
spec.author = { 'Oliver Letterer' => '[email protected]' }
spec.default_subspec = 'Complete'
spec.subspec 'Core' do |sp|
sp.requires_arc = true
sp.source_files = 'SLRESTfulCoreData/SLRESTfulCoreData/*.{h,m}', 'SLRESTfulCoreData/SLRESTfulCoreData/**/*.{h,m}', 'SLRESTfulCoreData/SLRESTfulCoreData/Framework Additions/**/**/*.{h,m}'
end
spec.subspec 'AFRESTfulCoreDataBackgroundQueue' do |sp|
sp.requires_arc = true
sp.source_files = 'AFRESTfulCoreDataBackgroundQueue/*.{h,m}'
sp.dependency 'SLRESTfulCoreData/Core'
sp.dependency 'AFNetworking', '2.4.1'
sp.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
EOS
end
spec.subspec 'Complete' do |sp|
sp.requires_arc = true
sp.dependency 'SLRESTfulCoreData/Core'
sp.dependency 'SLRESTfulCoreData/AFRESTfulCoreDataBackgroundQueue'
sp.dependency 'AFNetworking', '~> 2.4.1'
sp.dependency 'SLCoreDataStack', '>= 0.2.0'
end
end