emqx / CocoaMQTT

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

module compiled with swift 5.1.3 cannot be imported by the swift 5.5.1 compiler #422

Closed wjdwodud1130 closed 2 years ago

wjdwodud1130 commented 2 years ago

I use this Framework 2years ago Now i need to update Xcode & carthage. But emqx/CocoaMQTT have a error (import CocoaMQTT) at MQTTManager.swift

And Carthage can`t updated and errors keep coming out

Xcode error content is module compiled with swift 5.1.3 cannot be imported by the swift 5.5.1 compiler

What can i do this error? I'd appreciate it if you could help me.

leeway1208 commented 2 years ago

@wjdwodud1130 hi, I have already fixed it ,please try Carthage again.

wjdwodud1130 commented 2 years ago

Thank you for your reply but what items should there be in the cartfile?

leeway1208 commented 2 years ago

use github "emqx/CocoaMQTT" "master"