iOS Simulator-Compatible Libraries or Universal Versions for Solace SDK

Hey @srikanth … the port 55443 is for SMF (Solace Message Format) (our “native” protocol) over TCPS. Port 443 (in Solace Cloud) or 1443 (for self-managed software brokers) is for SMF over WSS. You can’t connect an MQTT client to these ports. See the software broker section of this: https://docs.solace.com/Admin/Default-Port-Numbers.htm

For MQTT, you’d need to connect to either port 8883 for TCPS, or 8443 for WSS. Again, these are default port values, and might be different on your broker? If you have a software broker with multiple Message VPNs, the MQTT ports might definitely be different. Best to check by going into PubSub+ Manager, on the “Message VPN” tab on the left, click the “Services” tab on the top, and scroll down to the MQTT section.

Looking quickly at the CocoaMQTT API, it appears to support both regular TCP connections, and over WebSockets by passing that socket object into the CocoaMQTT5 constructor. So hopefully trying the correct ports will help…!