FlexLayout icon indicating copy to clipboard operation
FlexLayout copied to clipboard

ABI stability swift evolution support for different swift versions

Open cherrythia opened this issue 2 years ago • 0 comments

My objective is trying to create a flexlayout xcframeworks that can be reused across different swift versions, so that I do not need to rebuild whenever xcode upgrade.

I tried to enable ABI Stability and Swift evolution support, BUILD_LIBRARY_FOR_DISTRIBUTION, and built xcframeworks in xcode14 swift-5.7 but facing error in xcode14.1 swift-5.7.1.

Failed to build module 'FlexLayout'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.7 (swiftlang-5.7.0.127.4 clang-1400.0.29.50)', while this compiler is 'Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)'). Please select a toolchain which matches the SDK.

Can anyone advise?

cherrythia avatar Mar 02 '23 01:03 cherrythia