Rahul Rawat
12/19/2021, 4:33 PMExecution failed for task ':compileSqlDriverNativeMainKotlinMetadata'
w: library included more than once: /Users/rahulrawat/.konan/kotlin-native-prebuilt-macos-x86_64-1.5.31/klib/common/stdlib
w: Could not find "co.touchlab:sqliter-driver-cinterop-sqlite3" in [/Users/rahulrawat/Desktop/Projects/kmp/AddressLibrary, /Users/rahulrawat/.konan/klib, /Users/rahulrawat/.konan/kotlin-native-prebuilt-macos-x86_64-1.5.31/klib/common, /Users/rahulrawat/.konan/kotlin-native-prebuilt-macos-x86_64-1.5.31/klib/platform/ios_arm64]
Tried reverting to 1.5.2 of sqlDelight and kotlin 1.5 but nothing seems to be working.kpgalligan
12/20/2021, 4:07 PMRahul Rawat
12/20/2021, 4:13 PMkpgalligan
12/20/2021, 4:22 PMcompileSqlDriverNativeMainKotlinMetadata. Check that you have "granular source sets" enabled in gradle.properties, then you might also need some others. And make sure it's the latest Kotlin you can support. Sqldelight should support hierarchical, but I haven't used that in a prod app yet.
kotlin.mpp.enableGranularSourceSetsMetadata=true
kotlin.native.enableDependencyPropagation=false
kotlin.mpp.enableCInteropCommonization=truekpgalligan
12/20/2021, 4:22 PMgradle.properties, then that's why it's not working. If they are, but not that last one, try adding that, although I think that's only needed if you're using cinperop directly (but I'm not 100% sure).Rahul Rawat
12/20/2021, 4:33 PMRahul Rawat
12/21/2021, 5:43 AMCould not find "co.touchlab:sqliter-driver-cinterop-sqlite3"
still remainskpgalligan
12/21/2021, 4:05 PMRahul Rawat
12/22/2021, 4:02 AM