我想将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
我从来没有这样的错误。有人可以帮忙吗?