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

Luka

07/14/2020, 1:47 PM
Copy code
I get "Unresolved reference: NativeSqliteDriver" when trying to use it in my ios KMP target (from SQLDelight library). "AndroidSqliteDriver" from my android target resolves normally. Gradle syncs without errors. Any idea how to debug this?
j

John O'Reilly

07/14/2020, 2:11 PM
There was change from
com.squareup.sqldelight.drivers.ios.NativeSqliteDriver
to
com.squareup.sqldelight.drivers.native.NativeSqliteDriver
in recent version of
SqlDelight
....just in case that's the cause?
l

Luka

07/14/2020, 2:15 PM
I followed the tutorial from sqldelight site and i add the right dependency:
Copy code
implementation ("com.squareup.sqldelight:native-driver:1.4.0")
47 Views