After upgrading decompose extensions-compose-jetbr...
# multiplatform
m
After upgrading decompose extensions-compose-jetbrains from 2.2.2 to extensions-compose 3.0.0-alpha01 or higher I am getting ComposeUIViewController not found error
a
I'm not sure, but it might have been moved to another package in the recent Compose versions. This works for me:
androidx.compose.ui.window.ComposeUIViewController
.
m
I have same import but I am getting same error
When I remove extensions-compose it works but the decompose will not work
a
Does it compile? if the issue only on the IDE side, you might need to also update Compose and Kotlin versions. Works for me here.
m
I am using 1.6.1 compose and kotlin1.9.22
If I go back to 2.2.2 it works but I need to implement predictive back stack
a
Does it compile?
m
No
a
I thought you are hitting this issue. But if it doesn't even compile (the build fails from command line), then I would suggest asking in #compose-ios.
m
Can you guide me I am getting an error in swift that the files related to decompose is not found in this scope error
Like state keeper, BackDispatcher, e.t.c
a
Most likely you need to export the right dependencies. An example can be found here: https://github.com/arkivanov/Decompose/blob/6fb385a530236e5c4b7d33a74face7df0fa22b27/sample/shared/compose/build.gradle.kts#L40