Starscream: Type 'SignalClient' does not conform to protocol 'WebSocketDelegate'

Created on 17 Aug 2018  路  3Comments  路  Source: daltoniam/Starscream

I have some problems - in SignalClient file
"Type 'SignalClient' does not conform to protocol 'WebSocketDelegate'"
http://joxi.ru/BA0Leg0HJw1zXA
Xcode want to add only
func websocketDidReceiveData(socket: WebSocketClient, data: Data)
But all protocol methods are implemented.
Can you help me please?

Most helpful comment

Click on the button (red with white in the middle) and get some more details, and perhaps an automatic fix.

All 3 comments

Click on the button (red with white in the middle) and get some more details, and perhaps an automatic fix.

my same case, I give in the fix button and a few moments later xcode sends me the same message again

Don't call it "WebSocketClient". This seem to clash with some Starscream stuff. Call it SocketClient and good

Was this page helpful?
0 / 5 - 0 ratings

Related issues

francos picture francos  路  3Comments

CRoig picture CRoig  路  6Comments

dessmith picture dessmith  路  5Comments

adrian-niculescu picture adrian-niculescu  路  4Comments

NickNeedsAName picture NickNeedsAName  路  5Comments