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
I was trying to include Sekret in multiplatform project and got following error:
Execution failed for task ':common:compose-ui:transformIosMainCInteropDependenciesMetadataForIde'.
> Could not resolve all files for configuration ':common:compose-ui:iosArm64CompilationDependenciesMetadata'.
> Could not resolve net.afanasev:sekret-annotation:0.1.5.
Required by:
project :common:compose-ui > project :common:main
> No matching variant of net.afanasev:sekret-annotation:0.1.5 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 'apiElements' declares a library for use during compile-time, preferably optimized for standard JVMs:
- Incompatible because this component declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm' and the consumer needed a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native'
- Other compatible attribute:
- Doesn't say anything about org.jetbrains.kotlin.native.target (required 'ios_arm64')
I would assume that if the plugin is in Kotlin it should be compatible with multiplatform/all targets? Is it jvm-only?
The text was updated successfully, but these errors were encountered:
I was trying to include Sekret in multiplatform project and got following error:
I would assume that if the plugin is in Kotlin it should be compatible with multiplatform/all targets? Is it jvm-only?
The text was updated successfully, but these errors were encountered: