Nuke
Nuke copied to clipboard
Impossible to build on Xcode 26.0 beta
Thank you for creating such a great library! I'm currently preparing my app for iOS 26, but I’m unable to build it because Xcode is failing on a specific line of Nuke’s code.
It seems to be a bug in the Swift compiler itself, but I wonder if @kean might have any ideas on how to adjust the Nuke source to make it compile?
//Sources/Nuke/ImageTask.swift
public var response: ImageResponse {
get async throws {
try await withTaskCancellationHandler {
try await task.value
} onCancel: {
cancel()
}
}
}
I had success on a fork by marking response as nonisolated. No other changes necessary.