JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
15.24k stars 1.11k forks source link

KLIB resolver: Could not find "org.jetbrains.compose.annotation-internal:annotation" #4961

Open KhubaibKhan4 opened 1 week ago

KhubaibKhan4 commented 1 week ago

Describe the bug Getting this error while running the iosApp from the Android Studio: KLIB resolver: Could not find "org.jetbrains.compose.annotation-internal:annotation".

I'm unable to resolve this issue. I'm facing this issue on many of my projects.

Affected platforms

Versions

Expected behavior When I try to run to it, it should run and launch the app but I get this issue: e: KLIB resolver: Could not find "org.jetbrains.compose.annotation-internal:annotation" in [/Users/zohaibkhan/Downloads/Youtube-Clone-KMP-master 9, /Users/zohaibkhan/.konan/klib, /Users/zohaibkhan/.konan/kotlin-native-prebuilt-macos-x86_64-2.0.0/klib/common, /Users/zohaibkhan/.konan/kotlin-native-prebuilt-macos-x86_64-2.0.0/klib/platform/ios_simulator_arm64]

Screenshots iosApp-Error

Additional context The error that I mentioned above occours when i try to launch iosApp from the Android Studio but when I try to open the application from the xocde, I get error : No Such Module 'ComposeApp'

KhubaibKhan4 commented 1 week ago

I forget to add few of my projects where I'm facing this issue:

YouTube Clone KMP: https://github.com/KhubaibKhan4/Youtube-Clone-KMP Flexi-Store-KMP: https://github.com/KhubaibKhan4/Flexi-Store-KMP Mind in Motion: https://github.com/KhubaibKhan4/MindinMotion-KMP