I have a custom framework (not using pods or carthage). Swift on my mac is 4.0.3. On compiling the project I get the error :
Module compiled with swift 4.0 cannot be imported in Swift 4.0.3
I know this topic has been discussed quite a bit like here. However, in my case the, the framework has been added manually.