When building a SQLdelight multiplatform module I’m getting this warning: ```% ./gradlew :database:b...
j
When building a SQLdelight multiplatform module I’m getting this warning:
Copy code
% ./gradlew :database:build

[...]

> Task :database:compileIosMainKotlinMetadata FAILED
w: Could not find "co.touchlab:sqliter-driver-cinterop-sqlite3"
Any idea why this happens and how to fix it (I know it’s just a warning but…)? Happy to give more info if only I knew what could help (gradle files, other code…)
s
Did you enable cinterop commonization on your end?
j
I think no, because I have no idea what it is 🙂
kotlin.mpp.enableCInteropCommonization=true
in gradle.properties? Let me try
Tried right now, nothing changes. Same warning.
Mmmm I’m now getting a similar error with a project that has ktor-client in it:
Copy code
> Task :httpapi:compileIosMainKotlinMetadata FAILED
w: Could not find "io.ktor:ktor-utils-cinterop-threadUtils" 
w: Could not find "org.jetbrains.kotlin.native.platform.linux"
this time setting
kotlin.mpp.enableCInteropCommonization=true
makes the first of the 2 warnings disappear.
s
Are you available for Google Meet debugging? Would be available roughly 8pm cet
j
@Sebastian Sellmair [JB] Sorry I missed your answer yesterday, sure I’m available, can we do it today? I’m on CET timezone too.
s
Any leads on this
j
It appears to be some 3rd party library wrongly declaring linux artifacts causing this warning. Maybe Sebastian che give more details about this.
a
same problem here .
320 Views