I was trying out `1.6.0-RC` Kotlin version and whe...
# ktor
j
I was trying out
1.6.0-RC
Kotlin version and when I run app (on iOS) now I'm getting
Copy code
Failed to find HttpClientEngineContainer. Consider adding [HttpClientEngine] implementation in dependencies.
I have
io.ktor:ktor-client-ios
dependency (as before). https://kotlinlang.org/docs/eap.html#build-details seems to indicate that version should work with Ktor 1.6.4
h
Simulator or real device? Does it work with an eap version of Ktor?
j
Simulator so far....I just tried with
1.6.2-native-mm-eap-185
and getting same issue
h
Intel or arm mac? Did you try
1.6.0-RC2
? 😄
j
Intel
hadn't noticed there was RC2....will try that now
seem to be getting further.....also moved to different eap version
a
There is probably a bug in finding a client's engine on a classpath. As a workaround, pass an engine explicitly to the
HttpClient
constructor.