Swift 4.2 came out and I'm receiving this error message in my project when using ObjectMapper
and some other pods too:
Module compiled with Swift 4.1.2 cannot be imported in Swift 4.1.50
So how do I tell Xcode to start updating my project and migrate it to Swift 4.2?
You are not compiling your Carthage module with the proper swift version. So you need to:
sudo xcode-select -switch Xcode_beta_10.app
carthage update --platform iOS --no-use-binaries