`swiftly list-available` command is broken due to the addition of a platform without `archs` to https://www.swift.org/api/v1/install/releases.json #168
According to the error, it seems that there is an entry without archs in the API response. This appears to be caused by the following section of HTTPClient.swift.
While testing swiftly, I started getting the following error today (after the release of Swift 6.0).
According to the error, it seems that there is an entry without
archs
in the API response. This appears to be caused by the following section of HTTPClient.swift.https://github.com/swiftlang/swiftly/blob/a7ef9e838b21b7f2836f318e67b4bffa6bee259f/Sources/SwiftlyCore/HTTPClient.swift#L29-L31
Here, I checked the API response.
According to this result, the
Static SDK
for version6.0
does not havearchs
.