SwiftMQTT icon indicating copy to clipboard operation
SwiftMQTT copied to clipboard

Doesn't work on Linux

Open damouse opened this issue 5 years ago • 0 comments

Doesn't work on Linux with Swift version 4.2.

/app/.build/checkouts/SwiftMQTT/SwiftMQTT/SwiftMQTT/MQTTSessionStream.swift:31:9: error: type 'Stream' has no member 'getStreamsToHost'
        Stream.getStreamsToHost(withName: host, port: Int(port), inputStream: &inputStream, outputStream: &outputStream)
        ^~~~~~ ~~~~~~~~~~~~~~~~
/app/.build/checkouts/SwiftMQTT/SwiftMQTT/SwiftMQTT/MQTTSessionStream.swift:58:42: error: cannot convert value of type 'String' to expected argument type 'AnyObject?'
                inputStream?.setProperty(securityLevel, forKey: .socketSecurityLevelKey)

damouse avatar Dec 08 '19 19:12 damouse