This repository has been archived by the owner on Oct 29, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
NetClient.podspec
60 lines (50 loc) · 1.84 KB
/
NetClient.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
52
53
54
55
56
57
58
59
60
Pod::Spec.new do |s|
s.name = 'NetClient'
s.version = '0.5.0'
s.summary = 'Versatile HTTP networking library written in Swift.'
s.homepage = 'https://github.com/intelygenz/NetClient-iOS'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.authors = { 'Alex Rupérez' => '[email protected]' }
s.source = { :git => 'https://github.com/intelygenz/NetClient-iOS.git', :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/intelygenz'
s.screenshot = 'https://github.com/intelygenz/NetClient-iOS/raw/master/Logo.png'
s.ios.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'
s.tvos.deployment_target = '9.0'
s.osx.deployment_target = '10.10'
s.framework = 'Foundation'
s.module_name = 'Net'
s.default_subspecs = 'Core', 'URLSession'
s.subspec 'Core' do |ss|
ss.source_files = "Core/*.{h,swift}"
end
s.subspec 'URLSession' do |ss|
ss.dependency 'NetClient/Core'
ss.source_files = "URLSession/*.{h,swift}"
end
s.subspec 'Alamofire' do |ss|
ss.dependency 'NetClient/Core'
ss.dependency 'Alamofire', '~> 4.7'
ss.source_files = "Alamofire/*.{h,swift}"
end
s.subspec 'Moya' do |ss|
ss.dependency 'NetClient/Core'
ss.dependency 'Alamofire', '~> 4.1'
ss.dependency 'Moya', '~> 11.0'
ss.source_files = "Moya/*.{h,swift}"
end
s.subspec 'Kommander' do |ss|
ss.dependency 'NetClient/URLSession'
ss.dependency 'Kommander', '~> 1.0'
ss.source_files = "Kommander/*.{h,swift}"
end
s.subspec 'RxSwift' do |ss|
ss.dependency 'NetClient/URLSession'
ss.dependency 'RxSwift', '~> 4.2'
ss.source_files = "RxSwift/*.{h,swift}"
end
s.subspec 'Stub' do |ss|
ss.dependency 'NetClient/Core'
ss.source_files = "Stub/*.{h,swift}"
end
end