Stylianos Gakis
11/05/2025, 12:43 PMfailed to build module 'Shared'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)', while this compiler is 'Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)'). Please select a toolchain which matches the SDK.
When trying to build an iOS app which is now being built with Xcode 26.0.1. The main points of the error seem to be these:
... the SDK is built with 'Apple Swift version 5.10 ... while this compiler is 'Apple Swift version 6.2 effective-5.10
So there is a mismatch regarding how the Kotlin code was compiled and what the iOS app now expects.
Is this a case of me using the wrong combination of versions, or is this just a problem which I can only solve by waiting for a newer Kotlin version or by downgrading the iOS codebase?
Really out of my depth here so it could be something else completely tbhHoratio Thomas
11/05/2025, 12:45 PMStylianos Gakis
11/05/2025, 12:48 PM