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

Unable to produce package with publishKotlinMultiplatform #112

Open
blackwiz4rd opened this issue Jan 30, 2025 · 1 comment
Open

Unable to produce package with publishKotlinMultiplatform #112

blackwiz4rd opened this issue Jan 30, 2025 · 1 comment

Comments

@blackwiz4rd
Copy link

blackwiz4rd commented Jan 30, 2025

KMPNotifier and Kotlin version:
kmpnotifier version: 1.4.0, kotlin version: 2.0.21

Describe the bug
App compiles but unable to produce package.

I'm unable to produce the package with publishKotlinMultiplatformPublicationToMyRepository publishAndroidReleasePublicationToMyRepository publishAndroidDebugPublicationToMyRepository, probably due to some versions compatibility issue?

> Task :data:notifications:compileCommonMainKotlinMetadata FAILED
w: KLIB resolver: Skipping './data/notifications/build/kotlinTransformedMetadataLibraries/commonMain/org.jetbrains.kotlin-kotlin-stdlib-2.1.0-commonMain-ITmP6A.klib'. Incompatible ABI version. The current default is '1.8.0', found '1.201.0'. The library was produced by '2.1.0-dev-7621' compiler.
e: KLIB resolver: Could not find "./data/notifications/build/kotlinTransformedMetadataLibraries/commonMain/org.jetbrains.kotlin-kotlin-stdlib-2.1.0-commonMain-ITmP6A.klib" in [/home/luca/.local/share/kotlin/daemon]

I've read the discussion on https://slack-chats.kotlinlang.org/t/23466343/i-m-testing-whether-a-compiler-plugin-compiled-with-2-1-0-pr?utm_source=chatgpt.com however, it seems that there is an issue in updating to Kotlin 2.1.x if you have realm realm/realm-kotlin#1857, and I'm unable to proceed this way.

In which platform bug occurs?
android

Expected behavior
Compile properly

@blackwiz4rd
Copy link
Author

Just a quick note, I don't have this issue with

KMPNotifier and Kotlin version:

kmpnotifier version: 1.3.0, kotlin version: 2.0.21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant