This problem is caused by the fact that you embed a pre-compiled framework. This can only be done if the swift compiler version that you use to compile your project is the same version that was used to compile that framework.
Hopefully, this restriction will be removed in future Swift / compiler versions... For more information refer to the chapter on Module Stability here: https://swift.org/blog/abi-stability-and-more
As already mentioned in one of the comments, the solution to this problem is to up- or downgrade to the appropriate Xcode version. (Or, if possible, recompile the framework with the desired compiler version)