My issue was resolved after I change
private static let queue = DispatchSerialQueue(label: "com.greenwood.imageLoaderURLProtocol")
to
private static let queue = DispatchQueue(label: "com.greenwood.imageLoaderURLProtocol")
I would have expected the compiler to give error regarding DispatchSerialQueue not being available prior to iOS 17.0....
This code was adapted from the Apple sample code, which Xcode helped to update for Xcode 15....
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: