Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ABI stability for swift evolution support for different swift versions #272

Open
cherrythia opened this issue Aug 14, 2023 · 0 comments
Open

Comments

@cherrythia
Copy link

cherrythia commented Aug 14, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant