-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathALNetworking.podspec
42 lines (36 loc) · 1.54 KB
/
ALNetworking.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
Pod::Spec.new do |s|
s.name = 'ALNetworking'
s.version = '2.0.0'
s.summary = 'iOS Network layer framework.'
s.description = <<-DESC
iOS Network layer framework.Basic on AFNetworking、YYCache.Also can depend on ReactiveObjc to support FRP form.
DESC
s.homepage = 'https://git.linghit.io/ios_cocoapods/ALNetworking'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Arclin' => 'arcli325n@gmail.com' }
s.source = { :git => 'https://github.com/Arc-lin/ALNetworking.git', :tag => s.version.to_s }
s.ios.deployment_target = '9.0'
s.source_files = 'ALNetworking/Classes/**/*'
s.subspec 'Core' do |ss|
ss.dependency 'AFNetworking'
ss.dependency 'YYCache'
ss.source_files = 'ALNetworking/Classes/Core/**/*'
end
s.subspec 'RAC' do |ss|
ss.prefix_header_contents = '#import <ReactiveObjC/ReactiveObjC.h>'
ss.source_files = 'ALNetworking/Classes/Core/**/*'
ss.dependency 'ReactiveObjC'
end
s.subspec 'RAC_MJ' do |ss|
ss.prefix_header_contents = '#import <ReactiveObjC/ReactiveObjC.h>'
ss.source_files = 'ALNetworking/Classes/Extensions/**/*'
ss.dependency 'ALNetworking/RAC'
ss.dependency 'ReactiveObjC'
ss.dependency 'MJExtension'
end
s.subspec 'Recorder' do |ss|
ss.source_files = 'ALNetworking/Classes/UI/**/*'
ss.dependency 'ALNetworking/Core'
ss.dependency 'Masonry'
end
end