John O'Reilly
03/28/2021, 10:40 AMios {
binaries {
framework {
baseName = "shared"
}
}
}
If you then add following to iosMain dependencies (along with commonMain one)
implementation("com.squareup.sqldelight:native-driver:$sqldelight")
and try then for example to create instance of NativeSqliteDriver in iosMain source, Android Studio doesn't show option to import and also shows error if you manually add import. If however we add iosX64("ios") for example then we don't see this issue. Anyone else come across this?zalewski.se
03/28/2021, 10:51 AMJohn O'Reilly
03/28/2021, 11:01 AMval isiOSDevice = sdkName.orEmpty().startsWith("iphoneos")
if (isiOSDevice) {
iosArm64("iOS")
} else {
iosX64("iOS")
}Shabinder Singh
04/23/2021, 11:07 PM