I have tried realm with carthage with xcode 10 and swift 4.2.
The following error came in the Terminal while updating the carfile (carthage update --platform iOS)
"Incompatible Swift version - framework was built with 4.1.2 (swiftlang-902.0.54 clang-902.0.39.2) and the local version is 4.2 (swiftlang-1000.11.37.1 clang-1000.11.45.1)."
Any help is appreciated
You try with carthage update realm-cocoa --platform iOS --no-use-binaries
You try with
carthage update realm-cocoa --platform iOS --no-use-binaries
Solved it to me! :-)
You try with
carthage update realm-cocoa --platform iOS --no-use-binaries
Thanks,solved it to me!
any idea why Realm is delaying release latest swift binary?
I remember last year is the same situation. It will be months after new Swift upgrade for Realm to release a compatible binary. But I assume Realm should release it once Xcode10 is released.
How to do it if I'm not using carthage?
Basically I wanted to try Realm in playgrounds, and found this answer which downloads 3.11.1 zip of realm. After compiling the playground with cmd+b, I got this error because of incompatible swift compiler versions.
You try with
carthage update realm-cocoa --platform iOS --no-use-binaries
Thx.
Hey - looks like you forgot to add a T:* label - could you please add one?
Most helpful comment
You try with
carthage update realm-cocoa --platform iOS --no-use-binaries