Marko Novina
11/26/2022, 12:43 PMMarko Novina
11/26/2022, 12:44 PMArkadii Ivanov
11/26/2022, 12:56 PM-native-compose
version of Decompose. Also make sure you are using Kotlin 1.7.20 and Compose 1.2.0. And you can also try to specify kotlin.native.cacheKind=none
in your gradle.properties
.Marko Novina
11/26/2022, 1:26 PMlistOf(
iosX64(),
iosArm64(),
iosSimulatorArm64()
).forEach {
it.binaries.framework {
baseName = "shared"
export(libs.bundles.decompose)
}
}
So that classes from decompose I need in Swift are recognized.
Issue was that I had also dependency for extensions in bundle, when I put just decompose here I don’t have this issue anymore. I have some other errors but I will try to resolve them 😄
Just for the record I use:
Decompose: 1.0.0-beta-01-native-compose
Kotlin: 1.7.20
Multiplatform Compose: 1.3.0-alpha01-dev862
And of course I already have kotlin.native.cacheKind=none
from before.
I guess when I fix current issues this should work.
Thank you @Arkadii Ivanov for all your efforts and work. I hope I will manage to convince everybody in company to start all new projects as KMM and use decompose, and sometime in future I hope also Compose for iOS. 🙂