socketio / socket.io-client-swift

Other
5.22k stars 842 forks source link

Linux Port #249

Open nuclearace opened 8 years ago

nuclearace commented 8 years ago

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 commented 8 years ago

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

oleduc commented 8 years ago

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

nuclearace commented 8 years ago

What do you mean?

oleduc commented 8 years ago

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

nuclearace commented 8 years ago

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

nuclearace commented 8 years ago

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

oleduc commented 8 years ago

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

yanniks commented 7 years ago

Any updates on this?

nuclearace commented 7 years ago

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.

p0fi commented 4 months ago

Any chance Linux support will actually happen anytime soon? 🙁