I'm encountering an error when I trying to compile. I've pulled in another multi-platform library and it complains about duplicate library names. The project implements some interfaces in its shared module that are defined in the library shared module. It gives a NPE crash. I'll attached the crash to this thread. Any insight into this issue?
val iosMain by creating {
dependsOn(commonMain)
iosX64Main.dependsOn(this)
iosArm64Main.dependsOn(this)
iosSimulatorArm64Main.dependsOn(this)
dependencies {
api(libs.ktor.client.ios)
implementation(libs.sqldelight.native)
}
}
Shouldn't that be good?
s
shikasd
06/19/2023, 7:56 PM
Yeah, that should be enough
It seems like compose cannot find annotation class for some reason
t
Trey
06/19/2023, 7:57 PM
I'll see if I can create a sample app and I'll open a ticket
w
Wojciech Dziemianczyk
08/11/2023, 12:51 PM
👋 Im starting to run into this issue as well, were you able to solve it @Trey?
t
Trey
08/11/2023, 2:01 PM
I did get past it, but I'm struggling to remember the fix. I went through several iterations. I was using a composite build and I think I switched to just a straight dependency. I also changed the name of a couple of the Android directories as recommended in the most recent upgrade instructions. I'm using the latest version of all the libraries too. The bug may have been resolved with a newer version.