nrobi
09/28/2020, 7:29 AMSqlDelight 1.4.3 native dependency?
Can’t seem to resolve NativeSqliteDriver , while AndroidSqliteDriver worsk well. Kotlin 1.4.0nrobi
09/28/2020, 7:30 AMlouiscad
09/28/2020, 7:50 AMJohn O'Reilly
09/28/2020, 7:58 AMnrobi
09/28/2020, 2:09 PMcom.squareup.sqldelight:native-driver dependency I can’t import the com.squareup.sqldelight.drivers.native.NativeSqliteDriver .
I can see however that there’s a NativeSqliteDriver which implements SqlDriver pulled in with native-driver.klib, but it’s not accessible from iosMain (It’s strange, since other ios dependencies work well)
val iosMain by getting {
dependencies {
implementation(Versions.iOS.SQLITE_DRIVER)
}
}louiscad
09/28/2020, 2:10 PMgradle.properties file?nrobi
09/28/2020, 2:16 PM1.4.0 kotlin migration:
kotlin.mpp.enableGranularSourceSetsMetadata=true
kotlin.native.enableDependencyPropagation=falselouiscad
09/28/2020, 2:18 PMnrobi
09/29/2020, 4:48 AMjean
10/15/2020, 8:22 PMif/else workaround instead of the ios() target?nrobi
10/16/2020, 5:13 AMjean
10/16/2020, 6:54 AMKotlinTarget with name 'iosX64' not found. Have you experienced that too?nrobi
10/16/2020, 7:37 AMval targetName = "ios" + if (sdkName.startsWith("iphoneos")) "Arm64" else "X64" in your packForXcode task.
You should remove the suffixes and use "ios" only (the target name might be different, in my case I’m using iosArm64("ios") and iosX64("ios"))jean
10/16/2020, 8:19 AM