What is the minimum supported iOS version for ktor `2.0.0`? Ktor `2.0.0-beta-1` works on iOS 12, bu...
e
What is the minimum supported iOS version for ktor
2.0.0
? Ktor
2.0.0-beta-1
works on iOS 12, but
2.0.0
does not, it crashes with
dyld: Symbol not found: _OBJC_CLASS_$_NSURLSessionWebSocketMessage
I’ve tried both the Darwin engine and CIO.
j
Even though this is for Apollo under KMP the discussion may be worthwhile for your issue. It would appear the minimum is iOS 13 if you need web sockets, but without them you can probably go lower. https://github.com/apollographql/apollo-kotlin/issues/2897
e
I read through this, but my application isn’t using WebSockets, just standard GET/POST.
My guess is the HttpClient is relying on importing the WebSockets under the hood regardless of if they’re used?
d
Why even try to support iOS 12? Apple no longer signs it and there can't be more than 1-2% of iPhone users still on a phone that old. There have been three major releases of iOS since 12. I would just support all versions of 15, and the last released version of 14. You're going to get close to 99% of iPhone users with that.
b
We have ~16k iOS 12 users on our app, it would be nice to keep them...