mirror of
https://github.com/Moya/Moya.git
synced 2026-03-18 19:52:28 +00:00
564499769d
This reverts commit 7e82d4b1e0.
# Conflicts:
# Moya.podspec
# Moya.xcodeproj/project.pbxproj
44 lines
1.5 KiB
Ruby
44 lines
1.5 KiB
Ruby
Pod::Spec.new do |s|
|
|
s.name = "Moya"
|
|
s.version = "14.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.1'
|
|
s.cocoapods_version = '>= 1.4.0'
|
|
s.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '-weak_framework Combine' }
|
|
|
|
s.subspec "Core" do |ss|
|
|
ss.source_files = "Sources/Moya/", "Sources/Moya/Combine", "Sources/Moya/Plugins/"
|
|
ss.dependency "Alamofire", "~> 5.0"
|
|
ss.framework = "Foundation"
|
|
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", "~> 5.0"
|
|
end
|
|
end
|