I was testing out CMP/commonMain Preview support i...
# multiplatform
t
I was testing out CMP/commonMain Preview support in AS Narwhal Canary 2, and it is looking good. Had to add the compose.uiTooling and uiToolingPreview dependencies of course. Then I went to build for iOS just to check my work, and I get the following error:
Copy code
No matching variant of org.jetbrains.compose.ui:ui-tooling:1.8.0-beta01 was found. The consumer was configured to find a library for use during 'kotlin-api', preferably optimized for non-jvm, as well as attribute 'org.jetbrains.kotlin.klib.packaging' with value 'non-packed', attribute 'org.jetbrains.kotlin.native.target' with value 'ios_simulator_arm64', attribute 'org.jetbrains.kotlin.platform.type' with value 'native' but:
I suspect because CMP does include the ui-tooling bits? Or am I missing something on my side. Thank you! Using Kotlin 2.1.20, CMP 1.8.0-beta01.
👍 1