Solana.Swift icon indicating copy to clipboard operation
Solana.Swift copied to clipboard

Type 'SolanaSocket' does not conform to protocol 'WebSocketDelegate'

Open nikunj-inx opened this issue 1 year ago • 8 comments

I have utilized this package dependency for Solana integration and used version 2.0.2 for Solana's flow. Unfortunately, I am encountering the following error in Xcode 15:

Type 'SolanaSocket' does not conform to the 'WebSocketDelegate' protocol.

There is already a WebSocketDelegate method within the SolanaSocket extension, but I am still getting this error, and I am unable to edit the file due to the package dependency.

It would be great if you could assist me with this?

Screenshot 2023-10-23 at 1 10 19 PM

nikunj-inx avatar Oct 23 '23 07:10 nikunj-inx

omg, the same problem, i dont know how to fix it, tested like million variants.... did you solve the problem?

BebekBebek99 avatar Dec 15 '23 22:12 BebekBebek99

Did you fix the error? @nikunj-inx @BebekBebek99

csarigumba avatar Dec 18 '23 11:12 csarigumba

Did you fix the error? @nikunj-inx @BebekBebek99

No, don't understand what the problem. One way I see is to copy library and try to edit errors.. idk how I can work with solana right now on iOS.

BebekBebek99 avatar Dec 23 '23 15:12 BebekBebek99

i am also getting same problem, anyone able to solve this issue ? @nikunj-inx @BebekBebek99 @csarigumba @ajamaica @NathanLawrence

bhadeshiyamitul avatar Jan 03 '24 05:01 bhadeshiyamitul

i am also getting same problem, anyone able to solve this issue ?

@nikunj-inx @BebekBebek99 @csarigumba @ajamaica @NathanLawrence

No... Why developers not fixing...

BebekBebek99 avatar Jan 03 '24 12:01 BebekBebek99

Hello @BebekBebek99 @mirbraintoo @csarigumba

I Fixed this issue for a temporary.

I have attached screenshot and shared the steps to fix the issue.

You have to go through that path. Show in finder that SolanaSocket file first -> Open that file in TextEdit -> Add the following code which I have shared in screenshot and save that file.

After this change successfully runned the project

Screenshot 2024-02-23 at 12 49 35 PM

nikunj-inx avatar Feb 23 '24 07:02 nikunj-inx

i am also getting same problem, anyone able to solve this issue ? @nikunj-inx @BebekBebek99 @csarigumba @ajamaica @NathanLawrence

No... Why developers not fixing...

I apologize for being unavailable. As part of my employment agreement at the job I took shortly after contributing to this project, I am no longer permitted to contribute code to open source projects without legal approval.

NathanLawrence avatar Apr 02 '24 00:04 NathanLawrence