Module compiled with Swift 4.2.1 cannot be imported by the Swift 5.0 compiler

For Carthage users: After upgrading to Xcode 10.2, I ran into this same issue with a framework that I had been importing using Carthage.

I resolved it by rebuilding the framework:

carthage update --no-use-binaries --platform iOS

Leave a Comment