通过CocoaPods安装RxReachability时出现问题

时间:2018-08-03 15:48:11

标签: swift cocoapods

我想将RxReachability安装到正在创建的应用程序上,但是在尝试安装它时始终收到错误消息。

[!] CocoaPods could not find compatible versions for pod "RxSwift":
In snapshot (Podfile.lock): RxSwift (= 4.2.0, ~> 4, ~> 4.0, ~> 4.2.0)

In Podfile:
RxAlamofire was resolved to 4.2.0, which depends on
  RxAlamofire/Core (= 4.2.0) was resolved to 4.2.0, which depends on
    RxSwift (~> 4)

RxCocoa was resolved to 4.2.0, which depends on
  RxSwift (~> 4.0)

RxCoreLocation was resolved to 1.3.0, which depends on
  RxCoreLocation/Core (= 1.3.0) was resolved to 1.3.0, which depends on
    RxSwift (~> 4.2.0)

RxReachability was resolved to 0.1.0, which depends on
  RxSwift (~> 3.3)

RxSwift

这是我的Podfile中的内容:

target 'myApp' do
use_frameworks!

  # core RxSwift
  pod 'RxSwift'
  pod 'RxCocoa'
  pod 'RxDataSources'
  pod 'RxReachability'

  # Community projects
  pod 'NSObject+Rx'

  # Data Handling
  pod 'RxAlamofire'
  pod 'SwiftyJSON'

  # Location Handling
  pod 'RxCoreLocation'

  # Image handling
  pod 'Kingfisher'
end

我从来没有这样的错误。有人可以帮忙吗?

0 个答案:

没有答案