Open helje5 opened 5 months ago
Hi, InstantSyntax is built with "Module stability" (a.k.a "Build libraries for distribution" build setting i.e. create .swiftinterface files) so it should load in Xcode 15.3 even though it was built with Xcode 15.2. However it seems there are sometimes issues where you need to go through the remove InstantSyntax, clean build and re-add it again loop especially when changing Xcode version. I wish it worked better but on a good day it works well then randomly, Xcode finds something to complain about and you need to de-add, clean, re-add. It's not an ideal situation at present I'm afraid.
I have encountered a similar issue:
Failed to build module 'SwiftCompilerPlugin'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)', while this compiler is 'Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)'). Please select a toolchain which matches the SDK.
We have this issue: https://mastodon.social/@aleck/112150973846531530
I wonder whether this would be solved by somehow enabling "library evolution": https://www.swift.org/blog/abi-stability-and-more/