:compose-multiplatform: <https://blog.jetbrains.co...
# announcements
a
K Compose Multiplatform 1.8.0: Now Stable and Production-Ready on iOS! K Build mobile apps faster with shared UI code, full control over native experiences, and the confidence to ship at scale. Compose Multiplatform for iOS is now production-ready and fully equipped with everything you need to craft beautiful UIs for real-world apps. ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ Check out the latest updates in Compose Multiplatform 1.8.0 and see why it's the perfect time to start using it. ๐Ÿš€
๐ŸŽ 23
๐Ÿ“ฑ 17
๐Ÿš€ 17
๐Ÿ‘๐Ÿป 1
๐Ÿ‘๐Ÿพ 1
๐Ÿ‘๐Ÿผ 1
๐Ÿ 2
K 163
๐Ÿ‘ 35
so beautiful 20
๐ŸŽ‰ 66
๐Ÿ”ฅ 2
kodee happy 1
๐Ÿ‘๐Ÿพ 1
K 80
k
Thanks you for mentioning Markaz there
K 3
e
How can you proceed to integrate in an existing project???
Like i have observed CMP and KMP have two different structures, so itโ€™s quite hard or difficult to integrate both of them in an existing project...
Any idea or way to solve that...
k
@Excellence kawej what part of it do you find difficult to integrate? Ill be happy to help
e
Like when i have integrated KMP in my existing there wasnโ€™t a module named composeapp, or any compose Multiplatform library was added into it. But i was looking for a way to integrate CMP in the project, but I haven't found anything, all thee sources were proposing me to implement it by creating a different project just for compose...
k
You can create a kmp module and the add CMP plugin and it would work fine
e
Which plugin should I install???
a
@Excellence kawej good news is that you donโ€™t need a plugin to use CMP in your project. Since itโ€™s already a KMP project, that should make things easier.. Unfortunately, we donโ€™t have a comprehensive guidance at the moment - working on it - meanwhile you can check this post by Touchlab. Also checking our the KMP Templates Gallery could give you some insights. Please let me know if that addresses your questions
e
Thanks, I'll check it...
Hi, after having read the article and made all the changes, I'm getting this error : error: KLIB resolver: Could not find "/Users/ctrltech/.gradle/caches/modules-2/files-2.1/org.jetbrains.compose.foundation/foundation-uikitx64/1.8.1/b018e2de96b8d71f6ab0e986f6470da1fda5ef67/foundation-uikitX64Main-1.8.1.klib" in [/Users/ctrltech/StudioProjects/Tmaterials/iosApp/Pods, /Users/ctrltech/.konan/klib, /Users/ctrltech/.konan/kotlin-native-prebuilt-macos-x86_64-2.0.0/klib/common, /Users/ctrltech/.konan/kotlin-native-prebuilt-macos-x86_64-2.0.0/klib/platform/ios_x64] That is what I made as changes :
Copy code
val commonMain by getting
val commonTest by getting

commonMain.dependencies {
    //put your multiplatform dependencies here
    implementation(compose.runtime)
    implementation(compose.foundation)
    implementation(compose.ui)
}
how can I solve it,??
a
@Excellence kawej hello there. Your error suggests, that you are using kotlin 2.0 and compose 1.8.1. While the documentation states:
Copy code
Starting with Compose Multiplatform 1.8.0, <...> you should:
use at least Kotlin 2.1.0 for your projects
Please update your Kotlin. If there is still an error - please report back ๐Ÿ™‚ I can reproduce your error message by downloading starting project from our wizard and downgrading kotlin version to 2.0. Upgrading does helps.
e
Thks a lot...