socket.io-client-swift icon indicating copy to clipboard operation
socket.io-client-swift copied to clipboard

Linux Port

Open nuclearace opened this issue 10 years ago • 10 comments

Since apple has released the Swift source code http://swift.org/ we should look into whether this library can be made to compile on Linux.

This is a long-term goal.

nuclearace avatar Dec 03 '15 16:12 nuclearace

https://github.com/apple/swift-corelibs-foundation/blob/master/Docs/Status.md going to be important for this library.

nuclearace avatar Dec 03 '15 18:12 nuclearace

For that we will need a replacement for the objective-c Security framework.

oleduc avatar Dec 30 '15 17:12 oleduc

What do you mean?

nuclearace avatar Dec 31 '15 01:12 nuclearace

We can't use objective-c frameworks on linux. Security framework is an objective-c library, or at least I think so.

oleduc avatar Dec 31 '15 05:12 oleduc

Well, I don't think anything in WebSocket is actually using Security. Since commenting it out doesn't seem to break anything.

nuclearace avatar Dec 31 '15 20:12 nuclearace

I guess it's always imported with Foundation on Darwin.

nuclearace avatar Dec 31 '15 20:12 nuclearace

Oh good, I thought we were using it for SSL.

oleduc avatar Jan 01 '16 00:01 oleduc

Any updates on this?

yanniks avatar Apr 23 '17 15:04 yanniks

So I have the linux branch to test this out... It's not looking good. I think it would require dropping ObjC support for the protocols or do the ugly thing done in that branch. Plus I'm seeing some URLSession crashes from unimplemented stuff.

nuclearace avatar Sep 17 '17 15:09 nuclearace

Any chance Linux support will actually happen anytime soon? 🙁

p0fi avatar Jun 15 '24 23:06 p0fi