Module compiled with swift 3.0.2 cannot be imported in swift 3.1
You’ll have to build that module in Swift 3.1. As things currently stand all modules in your program (that is, the main app and any frameworks) must be built with the same version of the compiler. It seems that you’re using Swift 3.0.2 to build some part of your app and Swift 3.1 to build another. That’s just not going to work.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"