Everything is working as expected, but still facing the following two issues:
When subscribing to a topic, the delegate function of
didSubscribeTopic is not called. The following warning is also shown in the log:
CocoaMQTT(warning): UNEXPECT SUBACK Recivied: SUBACK(id: 2).
It is currrently an open issue on their github here
Not sure why, maybe because I did not manually publish a ACK myself