Error this SDK is not supported by the compiler - Xcode version 16.2 (16C5032a) to 16.3(16E140)

In Xcode version 16.2 (16C5032a) I created:

One [ScenekitApp] [File/New/Project/iOS/Game/Game Technology: SceneKit].

Three custom Frameworks [File/New/Project/iOS/Framework] [ASCSource.framework, ASCCommon.framework and ASCCoreData.framework].

In the four projects the [Minimum Deployments=iOS 15.0], [Swift version=6.0] and [BUILD_LIBRARY_FOR_DISTRIBUTION=Yes].

I directly installed the [Zip.framework] in [ASCSource.framework] without [pod init/pod install] and in the [General tab] [Frameworks, Libraries and Embeded Content] [Zip.framework Embed&Sign].

I installed the three frameworks [ASCSource.framework, ASCCommon.framework and ASCCoreData.framework] in [ScenekitApp] and everything works perfectly in Xcode version 16.2(16C5032a).

I updated Xcode version 16.2(16C5032a) to Xcode version 16.3(16E140) and some errors in the SDKs were indicated.

[Failed to build module 'ASCSource'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)', while this compiler is 'Apple Swift version 6.1 effective-5.10 (swiftlang-6.1.0.110.21 clang-1700.0.13.3)'). Please select a toolchain which matches the SDK].

[Failed to build module 'Zip'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)', while this compiler is 'Apple Swift version 6.1 effective-5.10 (swiftlang-6.1.0.110.21 clang-1700.0.13.3)'). Please select a toolchain which matches the SDK].

If I recompile all frameworks in Xcode version 16.3 (16E140) it will work, but I don't think it will be a good solution.

I found some discussions in links like the following without success.

https://github.com/firebase/firebase-ios-sdk/issues/13727

https://stackoverflow.com/questions/70556401/swift-version-conflict-this-sdk-is-not-supported-by-the-compiler-please-select

Any help is welcome.

Thanks everyone!!!

This is expected behavior for frameworks that are not compiled with ABI resilience enabled. Resilience interferes with cross-module optimizations, so it is not enabled by default.

Error this SDK is not supported by the compiler - Xcode version 16.2 (16C5032a) to 16.3(16E140)
 
 
Q