j

    julioromano

    4 months ago
    When building a SQLdelight multiplatform module I’m getting this warning:
    % ./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…)
    Sebastian Sellmair [JB]

    Sebastian Sellmair [JB]

    4 months ago
    Did you enable cinterop commonization on your end?
    j

    julioromano

    4 months ago
    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:
    > 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.
    Sebastian Sellmair [JB]

    Sebastian Sellmair [JB]

    4 months ago
    Are you available for Google Meet debugging? Would be available roughly 8pm cet
    j

    julioromano

    4 months ago
    @Sebastian Sellmair [JB] Sorry I missed your answer yesterday, sure I’m available, can we do it today? I’m on CET timezone too.
    Sunny

    Sunny

    4 months ago
    Any leads on this
    j

    julioromano

    4 months ago
    It appears to be some 3rd party library wrongly declaring linux artifacts causing this warning. Maybe Sebastian che give more details about this.