error: module compiled with Swift 6.3 cannot be imported by the Swift 6.3.1 compiler #689
-
|
New issue for me on skip checkup --native Tried previous flow used in the past for same error on "Swift 6.2 cannot be imported by the Swift 6.2.1 compiler" but no result this time :0: error: module compiled with Swift 6.3 cannot be imported by the Swift 6.3.1 compiler: /Users/paolorizzo/Library/org.swift.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule Any suggestions? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Can you try running The problem may be because the underlying host toolchain is installed with swiftly, which treats "6.3" (the default toolchain version) as "6.3.WHATEVER_THE_LATEST_PATCH_IS`, but the Android SDK installation always treats "6.3" as "6.3.0". |
Beta Was this translation helpful? Give feedback.

This might be a conflict with the latest Xcode update (26.5). Can you try updating the Swift toolchain once more with
skip android sdk install --version 6.3.2(which was just released today)?If that doesn't help, can you show the output of the commands
swift sdk listandswiftly list?