Closed rsktash closed 9 months ago
Apologies - looks like I closed that ticket too quickly. I'm able to reproduce the issue locally with your sample.
I was able to work around this by using a newer version of Ktor - specifically the latest experimental wasm version. My hunch is the latest non-experimental versions of Ktor were published with a bug that occurred in Kotlin plugin 1.9.20 for native libraries. Hopefully it's fixed in the next 3.0.0
beta release or stable patch. Here's how to use the wasm build for now:
repositories {
maven("https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental")
}
dependencies {
implementation("io.ktor:ktor-client-core:3.0.0-wasm2")
}
with latest alpha 01 release ios target was built successfully. seems wasm artifact related issue
@rustamsmax Looks like this was fixed with the latest 2.3.8
. Updating to Coil 3.0.0-alpha04
, which imports that version, fixes the repro sample.
Having compile time error when building ios app
Xcode build output:
Android studio compileKotlinIosArm64 output:
Here's a repro https://github.com/rustamsmax/coil3-repro
I've opened an issue #1967 before but it was closed without investigation