MQTT-Client-Framework icon indicating copy to clipboard operation
MQTT-Client-Framework copied to clipboard

MQTTWebsocketTransport missing in framework

Open HarrysLapTimer opened this issue 7 years ago • 2 comments

It seems that MQTTWebsocketTransport.h is not public for the MQTTClient framework generated. Simply adding the header file (assuming the lib includes the class implementation) to a project doesn't work because the header includes other non-public headers.

  • Harald

HarrysLapTimer avatar Sep 02 '18 17:09 HarrysLapTimer

The MQTTWebsocketTransport.m file is not included in any of the targets. Adding it to the targets introduces a build error that SocketRocket is missing - guess that's a dependency for WebSockets.

fdstevex avatar Sep 09 '18 12:09 fdstevex

Yes, thanks. I found this to be the root cause it is not included in the framework. Using CocoaPads actually fixed the problem. MQTTWebsocketTransport is mentioned in the top level documentation prominently. It would probably make sense to add this finding as a comment for other users.

HarrysLapTimer avatar Sep 09 '18 12:09 HarrysLapTimer