Hey there, I am having problems with SQLDelight 1.5.5 when compiling a simple Compose Multiplatform App via command line for iOS target. Everything works fine via AS with the Kotlin Multiplatform plugin, but fails when using gradlew. When I remove SQL Delight DB from my App everything compiles fine.
expression.kt
<File name: main.ios.kt, Physical: true>
{
<ELEMENT>App()</ELEMENT>
}
* Source files: KoinHelper.kt, Platform.kt, BeepMaker.ios.kt, DatabaseDriverFactory.kt, main.ios.kt
* Compiler version: 1.9.20
* Output kind: LIBRARY
e: org.jetbrains.kotlin.util.KotlinFrontEndException: Exception while analyzing expression in (8,5) in /AndroidStudioProjects/TimerX/shared/src/iosMain/kotlin/com/timerx/main.ios.kt
main.ios.kt looks like this
fun MainViewController() = ComposeUIViewController {
App()
}
I have been stuck on this issue for a while, has anyone managed to get past this error when using SQLDelight?