Skip to content

How to add debug symbols upload #443

@T8RIN

Description

@T8RIN

Description

I followed this tutorial https://docs.sentry.io/platforms/kotlin/guides/kotlin-multiplatform/debug-symbols/

but it didn't work at all

Caused by: org.gradle.internal.component.resolution.failure.exception.VariantSelectionByAttributesException: No matching variant of io.sentry:sentry-kotlin-extensions:8.14.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 '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')

This build error occures after adding sentry android plugin along with sentry kmp plugin

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions