emqx / CocoaMQTT

MQTT 5.0 client library for iOS and macOS written in Swift
https://www.emqx.com/en
Other
1.57k stars 411 forks source link

SwiftPackage incompatibility with SocketIO #556

Closed benjamin-es-hall closed 8 months ago

benjamin-es-hall commented 8 months ago

My project needs to be able to use SocketIO alongside CocoaMQTT but it seems CocoaMQTT is dependent on a older version of Starscream.. Can this dependency be updated here?

Failed to resolve dependencies Dependencies could not be resolved because root depends on 'cocoamqtt' 2.0.8..<3.0.0 and root depends on 'socket.io-client-swift' 16.1.0. 'socket.io-client-swift' is incompatible with 'cocoamqtt' because 'cocoamqtt' 2.1.6 depends on 'starscream' 3.1.1..<4.0.0 and 'socket.io-client-swift' 16.1.0 depends on 'starscream' 4.0.6. 'cocoamqtt' {2.0.8..<2.1.6, 2.1.7..<3.0.0} practically depends on 'starscream' 3.1.1..<4.0.0 because 'cocoamqtt' 2.1.4 depends on 'starscream' 3.1.1..<4.0.0 and 'cocoamqtt' 2.1.5 depends on 'starscream' 3.1.1..<4.0.0. 'cocoamqtt' {2.0.8..<2.1.4, 2.1.7..<3.0.0} practically depends on 'starscream' 3.1.1..<4.0.0 because 'cocoamqtt' 2.1.2 depends on 'starscream' 3.1.1..<4.0.0 and 'cocoamqtt' 2.1.3 depends on 'starscream' 3.1.1..<4.0.0. 'cocoamqtt' {2.0.8..<2.1.2, 2.1.7..<3.0.0} practically depends on 'starscream' 3.1.1..<4.0.0 because 'cocoamqtt' 2.1.0 depends on 'starscream' 3.1.1..<4.0.0 and 'cocoamqtt' 2.1.1 depends on 'starscream' 3.1.1..<4.0.0. 'cocoamqtt' {2.0.8..<2.1.0, 2.1.7..<3.0.0} practically depends on 'starscream' 3.1.1..<4.0.0 because 'cocoamqtt' 2.0.8 depends on 'starscream' 3.1.1..<4.0.0 and 'cocoamqtt' 2.0.9 depends on 'starscream' 3.1.1..<4.0.0. 'cocoamqtt' {2.0.8, 2.0.10..<2.1.0, 2.1.7..<3.0.0} practically depends on 'starscream' 3.1.1..<4.0.0 because no versions of 'cocoamqtt' match the requirement {2.0.10..<2.1.0, 2.1.7..<3.0.0} and 'cocoamqtt' 2.0.8 depends on 'starscream' 3.1.1..<4.0.0.

leeway1208 commented 8 months ago

already updated, thanks

benjamin-es-hall commented 8 months ago

already updated, thanks

Great thank you! When do you expect the next tagged release to be?