Xcode 13 beta 4 is not able to handle framework built with Xcode 12

I have a third party framework 'serviceCommon' built using Xcode 12.5.1 (12E507). When I try to build my app which links to this framework, Xcode 13 beta 4(13A5201i) fails with the following error (FYI. Xcode 12.5.1 is able to build this app fine).

Failed to build module 'serviceCommon'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)', while this compiler is 'Apple Swift version 5.5 (swiftlang-1300.0.27.6 clang-1300.0.27.2)'). Please select a toolchain which matches the SDK.

It sounds like your third-party framework wasn't built as an XCFramework with a textual module interface. You'll need to go back to the vendor and ask them to provide you with an XCFramework. For background on XCFrameworks, please see our WWDC talk introducing binary framework support.

Xcode 13 beta 4 is not able to handle framework built with Xcode 12
 
 
Q