rn-native-mqtt
rn-native-mqtt copied to clipboard
error: potentially unavailable with '@available'
.../node_modules/react-native-native-mqtt/ios/Libraries/CocoaMQTT/CocoaMQTTTypes.swift:66:6: Enum cases with associated values cannot be marked potentially unavailable with '@available'
Did you solve it? I upgraded to Xcode 13 and also encountered this problem
I am guessing this repo is no longer supported.
Same issue.
@askie @15638228357
try npm i https://github.com/zivost/rn-native-mqtt.git
requires minimum deployment to be 13 and react-native version 0.61
getting same error, how to fix?
try this https://github.com/emqx/CocoaMQTT/pull/391/files/520d3c30f3792f2cd39a6b95712043adca65abde edit CocoaMQTTTypes.swift CocoaMQTTWebSocket.swift
@davesters Could you please update the dependencies if you have time?Thank you