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’
- XCode 15 Beta 4
- Project min iOS version: 15.0
- Socket.io Client Swift version: 16.0.1
2
Answers
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.
Had the same problem. The fix is applied and already merged here
https://github.com/socketio/socket.io-client-swift/commit/d7846b31a215211e595292425a2fdd6d16177faf