-
Notifications
You must be signed in to change notification settings - Fork 4
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
Compiling for iOS #10
Comments
Getting it to run on iOS should be pretty easy if you switch the websocket client. SwiftChatSE used to use https://github.com/tidwall/SwiftWebSocket, which is a really lightweight websocket client (it only works on Apple platforms, so I swapped it out for libwebsockets, which works on Linux but adds OpenSSL as a dependency). This afternoon, I’ll take a shot at adding the above library back in, using conditional compilation directives to enable it only on Apple platforms. It shouldn’t take me more than an hour. Once I’ve done that, you should be able to create a framework subtarget on your iOS app and drag and drop the SwiftChatSE source files right in. (BTW, if the app’s on GH I might be able to find some time to help out). |
Almost there. Unfortunately, reCAPTCHA has decided I'm suspicious and now I can no longer log into Stack Exchange. I can't test until the block goes away, so I'll try again in a bit. |
The real question is, are you suspicious? |
I was wanting to use this library in part to make an iOS app using SE chat. I see that there is libwebsockets and openssl that would need to be cross-compiled. I was wondering if you've already taken a stab at this, otherwise I'll try to make a PR later this week
The text was updated successfully, but these errors were encountered: