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.26k stars 1.11k forks source link

1.6.10-rc03 version error #4833

Closed mahramane closed 1 month ago

mahramane commented 1 month ago
Execution failed for task ':composeApp:transformIosMainCInteropDependenciesMetadataForIde'.
> Could not resolve all files for configuration ':composeApp:iosX64CompilationDependenciesMetadata'.
   > Could not find androidx.lifecycle:lifecycle-common:2.8.0.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/androidx/lifecycle/lifecycle-common/2.8.0/lifecycle-common-2.8.0.pom
       - https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-common/2.8.0/lifecycle-common-2.8.0.pom
       - https://maven.pkg.jetbrains.space/public/p/compose/dev/androidx/lifecycle/lifecycle-common/2.8.0/lifecycle-common-2.8.0.pom
       - https://oss.sonatype.org/content/repositories/snapshots/androidx/lifecycle/lifecycle-common/2.8.0/lifecycle-common-2.8.0.pom
       - https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental/androidx/lifecycle/lifecycle-common/2.8.0/lifecycle-common-2.8.0.pom
       - https://maven.pkg.jetbrains.space/public/p/ktor/eap/androidx/lifecycle/lifecycle-common/2.8.0/lifecycle-common-2.8.0.pom
       - https://jitpack.io/androidx/lifecycle/lifecycle-common/2.8.0/lifecycle-common-2.8.0.pom
     Required by:
         project :composeApp > org.jetbrains.compose.ui:ui:1.6.10-rc03 > org.jetbrains.compose.ui:ui-uikitx64:1.6.10-rc03 > org.jetbrains.androidx.lifecycle:lifecycle-common:2.8.0-rc03
   > Could not find androidx.lifecycle:lifecycle-runtime:2.8.0.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/androidx/lifecycle/lifecycle-runtime/2.8.0/lifecycle-runtime-2.8.0.pom
       - https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-runtime/2.8.0/lifecycle-runtime-2.8.0.pom
       - https://maven.pkg.jetbrains.space/public/p/compose/dev/androidx/lifecycle/lifecycle-runtime/2.8.0/lifecycle-runtime-2.8.0.pom
       - https://oss.sonatype.org/content/repositories/snapshots/androidx/lifecycle/lifecycle-runtime/2.8.0/lifecycle-runtime-2.8.0.pom
       - https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental/androidx/lifecycle/lifecycle-runtime/2.8.0/lifecycle-runtime-2.8.0.pom
       - https://maven.pkg.jetbrains.space/public/p/ktor/eap/androidx/lifecycle/lifecycle-runtime/2.8.0/lifecycle-runtime-2.8.0.pom
       - https://jitpack.io/androidx/lifecycle/lifecycle-runtime/2.8.0/lifecycle-runtime-2.8.0.pom
     Required by:
         project :composeApp > org.jetbrains.compose.ui:ui:1.6.10-rc03 > org.jetbrains.compose.ui:ui-uikitx64:1.6.10-rc03 > org.jetbrains.androidx.lifecycle:lifecycle-runtime:2.8.0-rc03
   > Could not find androidx.lifecycle:lifecycle-viewmodel:2.8.0.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/androidx/lifecycle/lifecycle-viewmodel/2.8.0/lifecycle-viewmodel-2.8.0.pom
       - https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-viewmodel/2.8.0/lifecycle-viewmodel-2.8.0.pom
       - https://maven.pkg.jetbrains.space/public/p/compose/dev/androidx/lifecycle/lifecycle-viewmodel/2.8.0/lifecycle-viewmodel-2.8.0.pom
       - https://oss.sonatype.org/content/repositories/snapshots/androidx/lifecycle/lifecycle-viewmodel/2.8.0/lifecycle-viewmodel-2.8.0.pom
       - https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental/androidx/lifecycle/lifecycle-viewmodel/2.8.0/lifecycle-viewmodel-2.8.0.pom
       - https://maven.pkg.jetbrains.space/public/p/ktor/eap/androidx/lifecycle/lifecycle-viewmodel/2.8.0/lifecycle-viewmodel-2.8.0.pom
       - https://jitpack.io/androidx/lifecycle/lifecycle-viewmodel/2.8.0/lifecycle-viewmodel-2.8.0.pom
     Required by:
         project :composeApp > org.jetbrains.compose.ui:ui:1.6.10-rc03 > org.jetbrains.compose.ui:ui-uikitx64:1.6.10-rc03 > org.jetbrains.androidx.lifecycle:lifecycle-viewmodel:2.8.0-rc03
MatkovIvan commented 1 month ago

It's Google artifacts and they exist by the URL from logs

curl -I https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-common/2.8.0/lifecycle-common-2.8.0.pom
HTTP/2 200 
accept-ranges: bytes
content-disposition: attachment
content-length: 5784
mahramane commented 1 month ago

It's Google artifacts and they exist by the URL from logs

curl -I https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-common/2.8.0/lifecycle-common-2.8.0.pom
HTTP/2 200 
accept-ranges: bytes
content-disposition: attachment
content-length: 5784

just for this item transformIosMainCInteropDependenciesMetadataForIde i get erorr can you help me?

mahramane commented 1 month ago

oh, i fixed it