watson-developer-cloud / swift-sdk

:iphone: The Watson Swift SDK enables developers to quickly add Watson Cognitive Computing services to their Swift applications.
https://watson-developer-cloud.github.io/swift-sdk/
Apache License 2.0
877 stars 223 forks source link

Add support for Linux #409

Closed glennrfisher closed 7 years ago

glennrfisher commented 8 years ago

Let's add support for Linux so that the SDK can run in the Swift runtime and with Kitura.

glennrfisher commented 7 years ago

We should modify the SDK so that it builds on Linux and we can deprecate the swift-watson-sdk.

glennrfisher commented 7 years ago

The speech services may not run well on the server, of course. They require AV frameworks. Additionally, I discovered with Robert that Starscream uses Apple’s proprietary Security framework (the functionality is in OpenSSL on Linux, but with an entirely different API). So perhaps the speech services won’t be supported on the server.

glennrfisher commented 7 years ago

We removed the dependencies that blocked us from executing the SDK on Linux. Unfortunately, we are still blocked by URLSession bugs that need to be fixed in Foundation.