I have been trying to enable module stability for a framework. I went ahead with enabling the Build Library For Distribution Setting.
I must say that I renamed a class due to having the same name as the Framework itself because I was having a lot of issues at the beginning, apparently because both the framework and a type shared the same name.
Now, I'm compiling the framework using Xcode 11.4.1, I'm able to compile my application in Xcode 11.4.1, using this framework compiled with the same Xcode version, all good there.
The issue is that when I try to archive the app in Xcode 12 beta 6, using the framework compiled with Xcode 11.4.1 I get an error saying:
Failed to build module 'Framework' from its module interface; the compiler that produced it, 'Apple Swift version 5.2.2 (swiftlang-1188.8.131.52 clang-1184.108.40.206)', may have used features that aren't supported by this compiler, 'Apple Swift version 5.3 (swiftlang-1220.127.116.11 clang-118.104.22.168)'
I also get a lot of errors like:
'MyFramework has been renamed to MyNewFrameworkName'
'SomeClass is not a member type of MyFramework'
Any help, guidance or clarification is really appreciated!! I'm not really sure what I'm doing wrong.