Swift 5 Module Stability Workaround for Binary Frameworks

Swift 5 Module Stability Workaround for Binary Frameworks

ABI Stability
Up until Swift 5, the lack of ABI stability meant that to be able to use Swift in your app it was necessary to ship the Swift runtime libraries with the app bundle. This means that binary frameworks that are purely written in Swift and have to expose their public APIs using the swiftmodule format are still not possible. Conclusion
With Swift 5, it’s not possible yet to ship binary frameworks that are purely written in Swift, but shipping frameworks that contain Swift with an Objective-C wrapper as an interface is possible and will be forward compatible with future versions of Swift.

Source: instabug.com