Bradleycorn
02/14/2025, 7:57 PMBradleycorn
02/14/2025, 11:44 PMlistOf(
iosX64(),
iosArm64(),
iosSimulatorArm64()
).forEach {
it.binaries.framework {
baseName = "MyAppKit"
isStatic = true
}
}
I had tried removing the static flag before, and adding a linker option for sqlite:
it.binaries.framework {
baseName = "MyAppKit"
linkerOpts.add("-lsqlite3")
}
But that also did not work.
The working solution is to remove the static flag, and NOT set linker options:
listOf(
iosX64(),
iosArm64(),
iosSimulatorArm64()
).forEach {
it.binaries.framework {
baseName = "MyAppKit"
}
}