Hi Guys, I've been trying to add in `IosClientEngi...
# ktor
a
Hi Guys, I've been trying to add in
IosClientEngine
inside my
iosMain
but I can't seem to find the builder function
Ios
. I've added the dependency:
Copy code
val iosMain by getting {
    dependencies {
        implementation("io.ktor:ktor-client-ios:1.5.2")
    }
}
But I still couldn't access
Ios.create {  ... }
? I am able to see
internal IosClientEngine(...): ...
) but not the
Ios
client. Is there something specific that I should do? please help. Thanks in advance.
so apparently the dependency only gets added on
iosArm64
thats why I could access it on
iosMain
. Is this expected?
I spent way too much time on this. Apparently, I need to enable
Commonizer
with:
Copy code
kotlin.mpp.enableGranularSourceSetsMetadata=true
kotlin.native.enableDependencyPropagation=false