compose-multiplatform icon indicating copy to clipboard operation
compose-multiplatform copied to clipboard

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

Open KhubaibKhan4 opened this issue 8 months ago • 1 comments

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

  • iOS

Versions

  • Compose Multiplatform version: 1.6.11
  • ...
  • Kotlin version: 2.0.0
  • Device (model or simulator for iOS issues): iMac & Macbook m1

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 avatar Jun 13 '24 07:06 KhubaibKhan4