Dumitru Preguza
06/17/2026, 10:48 AMAlexander Sysoev
06/17/2026, 11:15 AMDumitru Preguza
06/17/2026, 11:26 AMAlexander Sysoev
06/17/2026, 11:28 AMAlexander Sysoev
06/17/2026, 11:29 AMDumitru Preguza
06/17/2026, 11:49 AMlistOf(
iosArm64(), iosSimulatorArm64()
).forEach { iosTarget ->
iosTarget.binaries.framework {
baseName = "ComposeApp"
isStatic = true
binaryOption("bundleId", "com.mafrend.app.compose")
linkerOpts("-lsqlite3")
}
// Workaround: kotlinx-rpc compiler plugin generates code that crashes
// the Kotlin/Native DevirtualizationAnalysis phase (itable for RpcServiceDescriptor).
// Disable it until kotlinx-rpc fixes the issue for Kotlin 2.4.0.
iosTarget.binaries.all {
if (buildType == org.jetbrains.kotlin.gradle.plugin.mpp.NativeBuildType.RELEASE) {
freeCompilerArgs = freeCompilerArgs + "-Xdisable-phases=DevirtualizationAnalysis"
}
}
}Dumitru Preguza
06/17/2026, 11:56 AM