IosHttpRequestException

Deprecated (with error)

Please use 'Darwin' engine instead

Replace with

import io.ktor.client.engine.darwin.DarwinHttpRequestException
DarwinHttpRequestException