I've tried upgrading my RxSwift carthage dependency to 5.0.1 but when I do so, RxSwiftExt fails to build. Looking at the build log, there is a lot of warnings about deprecation but only two compile errors:
RxSwiftExt/Source/RxSwift/toSortedArray.swift:20:26: error: cannot convert return expression of type 'PrimitiveSequence<SingleTrait, [Self.Element]>' to return type 'Observable<[Self.Element]>'
return toArray().map { $0.sorted(by: by) }
RxSwiftExt/Source/RxCocoa/unwrap+SharedSequence.swift:19:47: error: use of undeclared type 'S'
public func unwrap<T>() -> SharedSequence<S, T> where E == T? {
I've tried upgrading my RxSwift carthage dependency to
5.0.1
but when I do so, RxSwiftExt fails to build. Looking at the build log, there is a lot of warnings about deprecation but only two compile errors: