Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CocoaMQTTWebSocket.swift:459:1 Type 'CocoaMQTTWebSocket.StarscreamConnection' does not conform to protocol 'WebSocketDelegate' #581

Open
freemadc2 opened this issue Mar 20, 2024 · 4 comments

Comments

@freemadc2
Copy link

Getting a couple of weird errors. For now, im going to branch off and try to fix this. I attached the errors as screenshots below.

Version 15.3 (15E204a)
Macbook pro Apple M1 Max
Sonoma 14.2.1 (23C71)

I added project via SPM

Screenshot 2024-03-20 at 1 13 03 PM Screenshot 2024-03-20 at 1 12 55 PM
@EdisonChan-dev
Copy link

@michael-aiphone
Copy link

Also seeing this issue on a fresh UIKit app with only CocoaMQTT added as a dependency via SPM.
The default ViewController for the app was extended to conform to CocoaMQTT5Delegate resulting in this error

@freemadc2
Copy link
Author

I had to fork to fix the issue. Only way possible to get working.

@riccardoch
Copy link

Resolved for now by adding Starscream as a package and setting it to the Exact Version 4.0.4, as described here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants