import Moya
import ReactiveSwift

@available(*, unavailable, renamed: "ReactiveSwiftMoyaProvider")
public class ReactiveCocoaMoyaProvider { }

extension ReactiveSwiftMoyaProvider {
    @available(*, unavailable, renamed: "request(_:)")
    public func request(token: Target) -> SignalProducer<Response, MoyaError> { fatalError() }
}

#if !COCOAPODS
    import Moya
#endif
import ReactiveSwift

@available(*, unavailable, renamed: "ReactiveSwiftMoyaProvider")
public class ReactiveCocoaMoyaProvider { }

extension ReactiveSwiftMoyaProvider {
    @available(*, unavailable, renamed: "request(_:)")
    public func request(token: Target) -> SignalProducer<Response, MoyaError> { fatalError() }
}

Add cocoapods conditional import of Moya in ReactiveMoyaAvialability.
Add cocoapods conditional import of Moya in ReactiveMoyaAvialability.
