I can't compile it when I use Carthage
add 'github "ReactiveX/RxSwift" ~> 4.0' to Cartfile then 'carthage update'
the temrinal said *** Skipped installing RxSwift.framework binary due to the error: "Incompatible Swift version - framework was built with 4.0 (swiftlang-900.0.65 clang-900.0.37) and the local version is 4.1 (swiftlang-902.0.48 clang-902.0.37.1)."
my carthage version: 0.29.0
I'm experiencing the same issue.
EDIT: It does however seem to work when running Carthage with --no-use-binaries. Could it be that the 4.1.2 binary needs to be re-compiled with the new versions of Xcode and Swift?
(Xcode 9.3, Swift 4.1, Carthage 0.29.0)
Use carthage update RxSwift --platform iOS --no-use-binaries to work around
@soleo That will check out RxSwift at "4.0.0-rc.0" if i use carthage update RxSwift --platform iOS --no-use-binaries
Hi @MorningStarJ ,
The command @soleo provided
carthage update RxSwift --platform iOS --no-use-binaries
should work as far as I can tell. If it doesn't, then this is Carthage issue, and this is not a proper repo.
We'll publish new version with new binary soon.
@kzaher Does this mean that the real problem is the binary needs to be recompiled with a newer version of Swift?
yes, that's what the message says
*** Skipped installing RxSwift.framework binary due to the error: "Incompatible Swift version - framework was built with 4.0 (swiftlang-900.0.65 clang-900.0.37) and the local version is 4.1 (swiftlang-902.0.48 clang-902.0.37.1)."
Okay, thanks