forked from Moya/Moya
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Moya.podspec
52 lines (47 loc) · 1.72 KB
/
Moya.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
Pod::Spec.new do |s|
s.name = "Moya"
s.version = "15.0.0"
s.summary = "Network abstraction layer written in Swift"
s.description = <<-EOS
Moya abstracts network commands using Swift Generics to provide developers
with more compile-time confidence.
ReactiveSwift and RxSwift extensions exist as well. Instructions for installation
are in [the README](https://github.com/Moya/Moya).
EOS
s.homepage = "https://github.com/Moya/Moya"
s.license = { :type => "MIT", :file => "License.md" }
s.author = { "Ash Furrow" => "ash@ashfurrow.com" }
s.social_media_url = "http://twitter.com/ashfurrow"
s.ios.deployment_target = '10.0'
s.osx.deployment_target = '10.12'
s.tvos.deployment_target = '10.0'
s.watchos.deployment_target = '3.0'
s.source = { :git => "https://github.com/Moya/Moya.git", :tag => s.version }
s.default_subspec = "Core"
s.swift_version = '5.3'
s.cocoapods_version = '>= 1.4.0'
s.subspec "Core" do |ss|
ss.source_files = "Sources/Moya/", "Sources/Moya/Plugins/"
ss.dependency "Alamofire", "~> 5.0"
ss.framework = "Foundation"
end
s.subspec "Combine" do |ss|
ss.source_files = "Sources/CombineMoya/"
ss.dependency "Moya/Core"
ss.framework = "Combine"
ss.ios.deployment_target = '13.0'
ss.osx.deployment_target = '10.15'
ss.tvos.deployment_target = '13.0'
ss.watchos.deployment_target = '6.0'
end
s.subspec "ReactiveSwift" do |ss|
ss.source_files = "Sources/ReactiveMoya/"
ss.dependency "Moya/Core"
ss.dependency "ReactiveSwift", "~> 6.0"
end
s.subspec "RxSwift" do |ss|
ss.source_files = "Sources/RxMoya/"
ss.dependency "Moya/Core"
ss.dependency "RxSwift", "~> 6.0"
end
end