https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
p

Pete Hellyer

09/26/2023, 5:42 PM
hi all, Ive jsut started getting this:
Copy code
Task :shared:compileIosMainKotlinMetadata FAILED
ERROR: Exception while analyzing expression in (5,54) in /Users/peterhellyer/GitHub/MyApp/shared/src/iosMain/kotlin/com/h2cd/app/MainActivity.ios.kt

Attachments:
causeThrowable
java.lang.NullPointerException
        at androidx.compose.compiler.plugins.kotlin.k1.AnnotationUtilsKt$makeComposableAnnotation$1.getType(AnnotationUtils.kt:38)
after updating to intellij 2023.2 - no code changes. I read somewhere that this has something to do with using compose mpp and having sqldelight 2.0.0. Has anyone experienced this and have some words of advice? I’m tearing my hair out as to why this suddenly has happened, and I cant build my iOS app anymore….
n.b. I downgraded and it still does it…
2 Views