Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRFAPI.podspec
More file actions
Latest commit
58 lines (53 loc) · 2.04 KB
/
Copy pathRFAPI.podspec
File metadata and controls
58 lines (53 loc) · 2.04 KB
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
52
53
54
55
56
57
58
Pod::Spec.newdo |s|
s.name='RFAPI'
s.version='2.1.1'
s.summary='RFAPI is a network request library specially designed for API requests. It is a URL session wrapper base on AFNetworking.'
s.homepage='https://github.com/RFUI/RFAPI'
s.license={:type=>'MIT',:file=>'LICENSE'}
s.author={'BB9z'=>'bb9z@me.com'}
s.source={
:git=>'https://github.com/RFUI/RFAPI.git',
:tag=>s.version.to_s
}
s.requires_arc=true
s.osx.deployment_target='10.10'
s.ios.deployment_target='8.0'
s.tvos.deployment_target='9.0'
# s.watchos.deployment_target = '2.0'
s.subspec'Core'do |ss|
ss.dependency'AFNetworking/Serialization','>= 2.3'
ss.dependency'AFNetworking/Security','>= 2.3'
ss.dependency'AFNetworking/Reachability','>= 2.3'
ss.dependency'RFKit/Runtime','> 1.7'
ss.dependency'RFInitializing','>= 1.1'
ss.dependency'RFMessageManager/Manager','>= 0.5'
ss.dependency'RFMessageManager/RFNetworkActivityMessage'
ss.source_files=['Sources/RFAPI/**/*.{h,m}']
ss.public_header_files=[
'Sources/RFAPI/RFAPI.h',
'Sources/RFAPI/Define/*.h',
'Sources/RFAPI/ModelTransformer/*.h',
'Sources/RFAPI/Compatible/*.h',
]
end
s.subspec'JSONModel'do |ss|
ss.dependency'RFAPI/Core'
ss.dependency'JSONModel'
ss.source_files=['Sources/JSONModelTransformer/**/*.{h,m}']
ss.public_header_files=[
'Sources/JSONModelTransformer/*.h',
]
end
s.pod_target_xcconfig={
# These config should only exists in develop branch.
'WARNING_CFLAGS'=>[
'-Weverything',# Enable all possible as we are developing a library.
'-Wno-gnu-statement-expression',# Allow ?: expression.
'-Wno-gnu-conditional-omitted-operand',
'-Wno-auto-import',# Still needs old #import for backward compatibility.
'-Wno-sign-conversion',
'-Wno-sign-compare',
'-Wno-objc-missing-property-synthesis'
].join(' ')
}
end