Framework built with Xcode 15.4 giving error on Xcode 16.2

I have my main app that connect to multiple internal modules. These modules are built with Xcode 15.4 on Jenkins. If I use these modules as xcframework in main app and try to build main app with Xcode 16.2 it will give error. Framework built with older version of Swift.

I thought we have ABI stability with new Xcode versions.

Any idea what can be issue?

I thought we have ABI stability with new Xcode versions.

There's ABI stability, and also module stability to be concerned with, which is a separate concept from ABI Stability, and required for XCFrameworks. You can enable that with the BUILD_LIBRARY_FOR_DISTRIBUTION build setting. Perhaps you forget to enable that?

— Ed Ford,  DTS Engineer

I do have BUILD_LIBRARY_FOR_DISTRIBUTION enabled for all my modules. That is why I am surprised why it will give error.

Do you get the same results with just the relevant code in a small test project? If so, please share a link to your test project. That'll help us better understand what's going on. If you're not familiar with preparing a test project, take a look at Creating a test project.

— Ed Ford,  DTS Engineer

Framework built with Xcode 15.4 giving error on Xcode 16.2
 
 
Q