```> Task :shared:compileKotlinIosSimulatorArm6...
# multiplatform
s
Copy code
> Task :shared:compileKotlinIosSimulatorArm64 FAILED
error: No matching variant of androidx.compose.animation:animation:1.5.1 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.platform.type' with value 'native', attribute 'org.jetbrains.kotlin.native.target' with value 'ios_simulator_arm64' but:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':shared:compileKotlinIosSimulatorArm64'.
> Could not resolve all files for configuration ':shared:iosSimulatorArm64CompileKlibraries'.
   > Could not resolve androidx.compose.animation:animation:1.5.1.
Hello guys, I'm an iOS Developer and learning KMM and have such an issue while running in iOS. Is someone here who can help me?
🔥 1
p
Can you show your build.gradle file. Seems like you are trying to use in iOS, a dependency that only supports Android.
120 Views