Module stability in Xcode 14?

We have a binary framework built with Xcode 13.0 with module stability (BUILD_LIBRARY_FOR_DISTRIBUTION) enabled.

As such, the framework can be used on all versions of Xcode 13.x.

When using the same binary framework in Xcode 14.0 beta (14A5228q), we get the following error and the app doesn't compile:

Failed to build module 'OurFramework'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1)', while this compiler is 'Apple Swift version 5.7 (swiftlang-5.7.0.113.202 clang-1400.0.16.2)'). Please select a toolchain which matches the SDK.

Is there a change to how module stability works in Xcode 14, or is this a temporary limitation (or bug) in Xcode 14.0 beta that will be addressed in future updates?

Post not yet marked as solved Up vote post of jon-iproov Down vote post of jon-iproov
222 views

Replies

Please file a bug report through Feedback Assistant, including a sample project that imports your framework, and then post the FB number here.

  • The bug reference is FB10313868 - thanks

Add a Comment