Closed philippzagar closed 1 year ago
Hi. How about these. You can replace the code and have a try.
public enum CocoaMQTTError: Error {
case invalidURL
case readTimeout
case writeTimeout
if #available(OSX 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *) {
public enum FoundationConnection : Error {
case closed(URLSessionWebSocketTask.CloseCode)
}
}
}
When compiling this library on iOS16, I get the following compile error in the
CocoaMQTTTypes.swift
file:Is this a known issue?