g0dkar / qrcode-kotlin

QRCode Generator implemented in pure Kotlin
https://qrcodekotlin.com/
MIT License
160 stars 13 forks source link

[iOS] Missing target for iOSX64 for 4.1.0 #114

Closed ruicanas closed 5 months ago

ruicanas commented 6 months ago

Describe the bug It's not possible to download the library for projects containing the target iOSX64

To Reproduce Try to update the library with the 4.1.0 version.

Logs 🪵 Caused by: org.gradle.internal.component.NoMatchingConfigurationSelectionException: No matching variant of io.github.g0dkar:qrcode-kotlin:4.1.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.platform.type' with value 'native', attribute 'org.jetbrains.kotlin.native.target' with value 'ios_x64' but: - Variant 'iosArm64ApiElements-published' capability io.github.g0dkar:qrcode-kotlin:4.1.0 declares a library for use during 'kotlin-api', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native': - Incompatible because this component declares a component, as well as attribute 'org.jetbrains.kotlin.native.target' with value 'ios_arm64' and the consumer needed a component, as well as attribute 'org.jetbrains.kotlin.native.target' with value 'ios_x64' - Other compatible attribute: - Doesn't say anything about its target Java environment (preferred optimized for non-jvm)

Additional context This might be related with the last changes made on build.gradle.kts, given that the iOSX64 target was deleted and not added again to the list.

Thanks!

ruicanas commented 5 months ago

Already solved 😉