Pod::Spec.new do |s|
  s.name = "RxAlamofire"

  s.version = "5.0.0"
  s.license = "MIT"
  s.summary = "RxSwift wrapper around the elegant HTTP networking in Swift Alamofire"
  s.homepage = "https://github.com/RxSwiftCommunity/RxAlamofire"
  s.authors = { "RxSwift Community" => "community@rxswift.org" }
  s.source = { :git => "https://github.com/RxSwiftCommunity/RxAlamofire.git", :tag => s.version }
  s.swift_version = "5.0"

  s.ios.deployment_target = "8.0"
  s.osx.deployment_target = "10.10"
  s.tvos.deployment_target = "9.0"
  s.watchos.deployment_target = "3.0"

  s.requires_arc = true

  s.default_subspec = "Core"

  s.subspec "Core" do |ss|
    ss.source_files = "Sources/*.swift"
    ss.dependency "RxSwift", "~> 4.4"
    ss.dependency "Alamofire", "~> 4.8"
    ss.framework = "Foundation"
  end

  s.subspec "RxCocoa" do |ss|
    ss.source_files = "Sources/Cocoa/*.swift"
    ss.dependency "RxCocoa", "~> 4.4"
    ss.dependency "RxAlamofire/Core"
  end
end

Pod::Spec.new do |s|
  s.name = "RxAlamofire"

  s.version = "5.0.0"
  s.license = "MIT"
  s.summary = "RxSwift wrapper around the elegant HTTP networking in Swift Alamofire"
  s.homepage = "https://github.com/RxSwiftCommunity/RxAlamofire"
  s.authors = { "RxSwift Community" => "community@rxswift.org" }
  s.source = { :git => "https://github.com/RxSwiftCommunity/RxAlamofire.git", :tag => s.version }
  s.swift_version = "5.0"

  s.ios.deployment_target = "8.0"
  s.osx.deployment_target = "10.10"
  s.tvos.deployment_target = "9.0"
  s.watchos.deployment_target = "2.0"

  s.requires_arc = true

  s.default_subspec = "Core"

  s.subspec "Core" do |ss|
    ss.source_files = "Sources/*.swift"
    ss.dependency "RxSwift", "~> 4.4"
    ss.dependency "Alamofire", "~> 4.8"
    ss.framework = "Foundation"
  end

  s.subspec "RxCocoa" do |ss|
    ss.source_files = "Sources/Cocoa/*.swift"
    ss.dependency "RxCocoa", "~> 4.4"
    ss.dependency "RxAlamofire/Core"
  end
end

Revert "Watch OS deployment target to meet RxSwift"
Revert "Watch OS deployment target to meet RxSwift"

This reverts commit 5bcdf321456f574d3c8510b486b9d85bf0c75387.
