Swift compiler versions and abi/module stability

Updating Xcode from 11.1 to 11.2.1 I get:
Module compiled with Swift 5.1 cannot be imported by the Swift 5.1.2 compiler:

My understanding was that after abi and module stability, this would just work.

Is it due to how my modules are built? They are regular .frameworks - and the modules included do not have .swiftinterface files.
Do I need to be using .xcframeworks for this to work?

You need to emit a new interface file to adopt ABI stability. You can find more details here: Module compiled with Swift 5.1 cannot be imported by the Swift 5.1.2 compiler:

1 Like

Thank you for the reply, and apologies that I didn't find the previous topic first.

1 Like
Terms of Service

Privacy Policy

Cookie Policy