Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is Sekret compatible with multiplatform/ios targets? #39

Open
woj-tek opened this issue Jan 15, 2025 · 2 comments
Open

Is Sekret compatible with multiplatform/ios targets? #39

woj-tek opened this issue Jan 15, 2025 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@woj-tek
Copy link

woj-tek commented Jan 15, 2025

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?

@aafanasev
Copy link
Owner

It's JVM only for now. I'll think about supporting multiplatform in future versions.

@aafanasev aafanasev added the help wanted Extra attention is needed label Jan 17, 2025
@woj-tek
Copy link
Author

woj-tek commented Jan 17, 2025

Thank you for the information.

(maybe it would be prudent to add this information to the readme?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants