-
Notifications
You must be signed in to change notification settings - Fork 28
Description
I have spent a significant amount of time debugging it. I can confirm the root cause and would like to share my findings to help move this issue forward.
The Root Cause
The project is currently unbuildable because it has a hard-coded dependency on a specific, and now unavailable, Swift development snapshot.
- Hard-coded Version
The hello-swift-java/hashing-lib/build.gradle file explicitly requires main-snapshot-2026-01-16.
def sdkName = "swift-DEVELOPMENT-SNAPSHOT-2026-01-16-a_android.artifactbundle"
def swiftVersion = "main-snapshot-2026-01-16"- Unavailable Toolchain
This specific snapshot is no longer available for download from swift.org. Attempting to install it via swiftly fails with the following error:
$ swiftly install main-snapshot-2026-01-16
Error: main-snapshot-2026-01-16 does not exist at URL https://download.swift.org/development/xcode/swift-DEVELOPMENT-SNAPSHOT-2026-01-16-a/swift-DEVELOPMENT-SNAPSHOT-2026-01-16-a-osx.pkg, exitingConclusion
Because the required Swift toolchain cannot be installed, the build process fails immediately with exit code 1 when swiftly is invoked. This issue is not related to local caches or environment misconfiguration; it is a fundamental dependency problem.
Suggested Path Forward
To make this project usable again, the Gradle build scripts (build.gradle) and possibly the Swift package manifests (Package.swift) across the project need to be updated to use a currently available Swift toolchain (either a recent stable release or a newer development snapshot).
Thank you for maintaining this project. I hope this information helps in resolving the issue.