When using `implementation(compose.preview)` or `i...
# compose
s
When using
implementation(compose.preview)
or
implementation(compose.uiTooling)
from the
org.jetbrains.compose
gradle plugin, I am getting
Unresolved platforms: [iosArm64, iosSimulatorArm64, iosX64]
Do iOS targets not exist for those dependencies? Do
androidx.compose.ui.tooling.preview.PreviewParameter
etc implementations exist for common code for iOS as well or just not at all? Perhaps I am trying to bring in the wrong dependency somehow? A bit hard to find more info on this from googling around
Updating to the latest CMP beta seems to have deprecated importing the dependencies like that, and now I seem to be able to use PreviewParameter in commonMain. Had to bring in
org.jetbrains.compose.ui:ui-tooling-preview
, but not
org.jetbrains.compose.ui:ui-tooling
. Unsure if I had to upgrade to the latest beta, but looks to work fine atm.