Skip to content

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

@cherrythia

Description

@cherrythia

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions