electrolobzik
12/20/2023, 7:10 PMimplementation("com.arkivanov.decompose:decompose:2.2.1")
implementation("com.arkivanov.decompose:extensions-compose-jetbrains:2.2.1")
but for some reason AS doesn’t see import com.arkivanov.decompose.extensions.compose.jetbrains.stack package in the code in the common module. Other classes from `com.arkivanov.decompose`are visible. What could be the reason?Arkadii Ivanov
12/20/2023, 7:12 PMelectrolobzik
12/20/2023, 7:15 PMelectrolobzik
12/20/2023, 7:15 PMlistOf(
iosX64(),
iosArm64(),
iosSimulatorArm64()
).forEach { iosTarget ->
iosTarget.binaries.framework {
baseName = "ComposeApp"
isStatic = false
}
}Arkadii Ivanov
12/20/2023, 7:16 PMArkadii Ivanov
12/20/2023, 7:16 PMelectrolobzik
12/20/2023, 7:17 PMelectrolobzik
12/20/2023, 7:18 PMelectrolobzik
12/20/2023, 7:18 PMArkadii Ivanov
12/20/2023, 7:18 PMArkadii Ivanov
12/20/2023, 7:19 PM2.2.1-compose-experimental, or 3.xArkadii Ivanov
12/20/2023, 7:19 PMelectrolobzik
12/20/2023, 7:19 PMArkadii Ivanov
12/20/2023, 7:26 PMcommonizer thing in KMP, which also finds all usable APIs for all supported targets by a source set.Arkadii Ivanov
12/20/2023, 7:26 PMextensions-compose-jetbrains only supports android and jvm, and so there are no usable APIs for commonMain if iOS is also supported.electrolobzik
12/20/2023, 7:28 PMArkadii Ivanov
12/20/2023, 7:43 PMelectrolobzik
12/20/2023, 7:50 PMelectrolobzik
12/20/2023, 8:05 PMCannot access class 'androidx.compose.ui.unit.Dp'. Check your module classpath for missing or conflicting dependencies
Cannot access class 'androidx.compose.ui.graphics.Shape'. Check your module classpath for missing or conflicting dependencies
Cannot access class 'androidx.compose.ui.graphics.Color'. Check your module classpath for missing or conflicting dependencies
Tried to clean the project and restart the AS but it doesn’t help.electrolobzik
12/20/2023, 8:06 PMArkadii Ivanov
12/20/2023, 8:07 PMelectrolobzik
12/20/2023, 8:10 PM