I'm trying to add "io.insert-koin:koin-compose:3.5...
# koin
t
I'm trying to add "io.insert-koinkoin compose3.5.3" to my commonMain so that I can inject objects into my composables in my compose multiplatform project. The problem is that I'm getting exceptions when syncing my build.gradle.kts file for the iOS gradle tasks. Am I missing something?
Copy code
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':shared:cinteropAppAuthIosArm64'.
	at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:38)
	...
	at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47)
Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':shared:iosArm64CInterop'.
	at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.mapFailure(DefaultConfiguration.java:1711)
	...
	at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47)
Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find io.insert-koin:koin-compose:3.5.3.
Searched in the following locations:
  - <https://dl.google.com/dl/android/maven2/io/insert-koin/koin-compose/3.5.3/koin-compose-3.5.3.pom>
  - <https://repo.maven.apache.org/maven2/io/insert-koin/koin-compose/3.5.3/koin-compose-3.5.3.pom>
  - <https://maven.pkg.jetbrains.space/public/p/compose/dev/io/insert-koin/koin-compose/3.5.3/koin-compose-3.5.3.pom>
Required by:
    project :shared
j
Koin Compose has different versioning than the main Koin artifacts. Latest stable version is 1.1.2: https://mvnrepository.com/artifact/io.insert-koin/koin-compose
👍 1
a
Yes compose is a seperate track
👍 1