I installed the Socket.io client Swift module in Xcode, and when I try to build, it gives me this error:
Type 'SocketEngine' does not conform to protocol 'WebSocketDelegate'
I don't know if this is the same situation as yours, but in my case I was able to build with the following. Change starscream 4.0.6 to 4.0.4.