PinLayout icon indicating copy to clipboard operation
PinLayout copied to clipboard

ABI stability for swift evolution support for different swift versions

Open cherrythia opened this issue 10 months ago • 0 comments

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

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

[Error] Failed to build module 'PinLayout'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)', while this compiler is 'Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100)'). Please select a toolchain which matches the SDK.

Can anyone advise?

cherrythia avatar Aug 14 '23 08:08 cherrythia