I added this line to gradle.properties kotlin.nati...
# compose-ios
с
I added this line to gradle.properties kotlin.native.cacheKind=none. This issue disappeared but still I cannot compile an app
a
please, use a thread to post subsequent messages of the problem you are having to avoid clutter in the channel and maintain context
с
Ok
p
What happens when you run the pod generate simulator framework Gradle tasks?
o
Did you use this template https://github.com/JetBrains/compose-multiplatform-ios-android-template/#readme to create the project? I'd suggest to start with it + install the latest KMM plugin in your Android Studio if it's not installed
с
I tried from template and it worked. But I tried to use regular framework
For now, we have some limitations for Compose on iOS: • You can use a Compose library only as a static framework (in gradle isStatic=true) https://github.com/JetBrains/compose-multiplatform-template/blob/aaa6a9f7b98d4d7cd8ec95112ebe2c455fa3f688/shared/build.gradle.kts#L27 • You should add
kotlin.native.cacheKind=none
https://github.com/JetBrains/compose-multiplatform-template/blob/aaa6a9f7b98d4d7cd8ec95112ebe2c455fa3f688/gradle.properties#L9 • You should use internal
@Composable internal fun
Maybe I'll try later this suggestion to see if it will help or not
d
For now, we support only CocoaPods. But we will add support for Regular frameworks later.
с
Ok. Thanks. Also I noticed now it only gives me 60 fps on list scrolling on my iPhone 14 pro max. Is it going to be fixed in next releases or I have to enable some flags ?
d
We will fix it
z
I've tried all of the above but still seeing the same issue. Filed this with a repro https://github.com/JetBrains/compose-multiplatform/issues/3088