CocoaMQTT
CocoaMQTT copied to clipboard
MQTT 5.0 client library for iOS and macOS written in Swift
1, allowUntrustCACertificate like must be true 2, and can't pass pem, must p12, but this will expose the server side private key, can't understand the configuration here Our server is...
In CocoaMQTT.swift, these properties below are not thread safe, this is similar with [#543](https://github.com/emqx/CocoaMQTT/pull/543) I use ThreadSafeDictionary make them thread safe. ``` public var subscriptions: [String: CocoaMQTTQoS] = [:] fileprivate...
hello, i find a crash when send message; the ips info is blow: example 1: ` SIGSEGV: 0xffffff818ac549e0 0x0 + 6619471872 -- - | $s11CommonKit_a21MqttPublishPropertiesC15correlationDataSays5UInt8VGSgvgTm 0 | 0 0x0000000105c317c4 -[CKCrashReporter...
I am trying to connect with MQTT with `.crt` certificate, I am getting this error. `Disconnected from MQTT, error: Optional(Error Domain=MGCDAsyncSocketErrorDomain Code=8 "Error in SSLSetCertificate" UserInfo={NSLocalizedDescription=Error in SSLSetCertificate})` Anything which...
xcode: 15.4 flutter: 3.19.0 运行app 正常, xcode 打包就报错 fatal error: module map file '/Users/iosadmin/Library/Developer/Xcode/DerivedData/Runner-alqjzkpapsiwvucsdqdzringxrwb/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/CocoaMQTT/CocoaMQTT.modulemap' not found 1 error generated.
It seems this project uses [Foundation](https://developer.apple.com/documentation/foundation) for networking, which might not support TLS v1.3. From my understanding, the [Network](https://developer.apple.com/documentation/Network) API supports TLS v1.3. Are there any plans to transition to...
```swift extension FrameSubAck: InitialWithBytes { init?(packetFixedHeaderType: UInt8, bytes: [UInt8]) { self.packetFixedHeaderType = packetFixedHeaderType var protocolVersion = ""; if let storage = CocoaMQTTStorage() { protocolVersion = storage.queryMQTTVersion() } if (protocolVersion ==...