Skip to content

Fix skip android sdk install to use the latest released SDK#232

Merged
marcprux merged 3 commits intomainfrom
sdk-latest
Apr 17, 2026
Merged

Fix skip android sdk install to use the latest released SDK#232
marcprux merged 3 commits intomainfrom
sdk-latest

Conversation

@marcprux
Copy link
Copy Markdown
Member

@marcprux marcprux commented Apr 17, 2026

The release of Swift 6.3.1 (https://forums.swift.org/t/announcing-swift-6-3-1/) exposed two bugs in skip android sdk install:

  1. We weren't fetching the latest Android SDK by default, but rather the first. This PR fixes it so the highest available version is installed.
  2. When installing the host toolchain, we use swiftly, which (unfortunately) interprets "6.3" as "6.3.LATEST_PATCH_VERSION".

The combination of these two issues causes a mismatch between the installed host toolchain (6.3.1) and the Swift SDK for Android (6.3), which leads to errors like:

<unknown>:0: error: module compiled with Swift 6.3 cannot be imported by the Swift 6.3.1 compiler: /Users/runner/Library/org.swift.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-x86_64/android/Swift.swiftmodule/x86_64-unknown-linux-android.swiftmodule

This PR should fix both these issues.

@cla-bot cla-bot bot added the cla-signed label Apr 17, 2026
@marcprux marcprux merged commit 366ec3c into main Apr 17, 2026
3 checks passed
@marcprux marcprux deleted the sdk-latest branch April 17, 2026 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant