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
James Black
04/13/2022, 11:44 PM
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
Evan
04/13/2022, 11:47 PM
I read through this, but my application isn’t using WebSockets, just standard GET/POST.
Evan
04/13/2022, 11:48 PM
My guess is the HttpClient is relying on importing the WebSockets under the hood regardless of if they’re used?
d
David Nedrow
04/15/2022, 5:36 AM
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
Brian Guertin
07/21/2022, 8:18 PM
We have ~16k iOS 12 users on our app, it would be nice to keep them...