Previously this method URLProtocol.setProperty(_,forKey:in:), was being passed a string for the value but now it's a PINRemoteImageWeakTask and this works but emits the error above. Perhaps, it's best to move to the previous implementation or have the PINRemoteImageWeakTask conform to the protocol that would allow it be serializable.
The following is the error logged to the console.
Previously this method
URLProtocol.setProperty(_,forKey:in:)
, was being passed a string for the value but now it's aPINRemoteImageWeakTask
and this works but emits the error above. Perhaps, it's best to move to the previous implementation or have the PINRemoteImageWeakTask conform to the protocol that would allow it be serializable.