You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to add the dependency in the common module of my KMP project. It fails with the next message:
Execution failed for task ':composeApp:transformIosMainCInteropDependenciesMetadataForIde'.
Could not resolve all files for configuration ':composeApp:iosArm64CompilationDependenciesMetadata'.
Could not resolve id.walt.did:waltid-did:0.10.0.
Required by:
project :composeApp
> No matching variant of id.walt.did:waltid-did:0.10.0 was found. The consumer was configured to find a library for use during 'kotlin-metadata', preferably optimized for non-jvm, as well as attribute 'org.jetbrains.kotlin.native.target' with value 'ios_arm64', attribute 'org.jetbrains.kotlin.platform.type' with value 'native' but:
- Variant 'jsApiElements-published' declares a library for use during 'kotlin-api', preferably optimized for non-jvm:
- Incompatible because this component declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js' and the consumer needed a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native'
...
I added the maven repository ""https://maven.waltid.dev/releases"" correctly.
When i put the implementation only in the androidModule it works.
I don't know if i'm missing something, if is not supported yet or if is not planned to be supported for ios_arm64.
Thank you in advance.
The text was updated successfully, but these errors were encountered:
1. What do you mean by "implementation"? Are you talking about the dependency reference?
Yes, I'm refeering to dependency. Sorry.
2. Where else were you putting it?
I was referring to the fact that it cannot be used in the common module of a kmp project. That is, I cannot implement the dependency in such a way that both the Android and iOS modules use your library. In iOS, I get the error mentioned above. So I can simply use the dependency in the android module.
I thought that it could be used in kmp projects since it is mentioned that this library is multiplatform.
Describe the bug
When I try to add the dependency in the common module of my KMP project. It fails with the next message:
Execution failed for task ':composeApp:transformIosMainCInteropDependenciesMetadataForIde'.
I added the maven repository ""https://maven.waltid.dev/releases"" correctly.
When i put the implementation only in the androidModule it works.
I don't know if i'm missing something, if is not supported yet or if is not planned to be supported for ios_arm64.
Thank you in advance.
The text was updated successfully, but these errors were encountered: