Swift 4.0 is only compatible with Swift 3.2.
Swift 4.0.1 is only compatible with Swift 3.2.1.
So:
- you cannot mix 4.0 and 3.2.1
- you cannot mix 4.0.1 and 3.2
- you cannot mix 4.0 and 4.0.1
- you cannot mix 3.2.1 and 3.2
To formulate it in different ways:
- You can combine the supported Xcode 9.0 versions of Swift.
- You can combine the supported Xcode 9.1 versions of Swift.
- You cannot mix versions of Xcode 9.0 and Xcode 9.1 Swift.
If the module was created by you, just rebuild it using the same Xcode.
If the module was created by a third party, request an assembly compatible with Xcode 9.1.
source share