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

kmpnotifier-cinterop-FirebaseMessaging can't be exported with -Xexport-library #100

Open
658jjh opened this issue Dec 15, 2024 · 0 comments

Comments

@658jjh
Copy link

658jjh commented Dec 15, 2024

It working fine on debug, but when I try to build a release version, I got this issue

KMPNotifier and Kotlin version:
kmpnotifier: 1.3.0
kotlin: "2.0.21"
Describe the bug

warning: Interop library /Users/thiennguyen/.gradle/caches/modules-2/files-2.1/io.github.mirzemehdi/kmpnotifier-iosarm64/1.3.0/acaea160cce056774e0d00d1fa148ecca2c9bd02/kmpnotifier-cinterop-FirebaseMessaging can't be exported with -Xexport-library
error: Compilation failed: Linking globals named '�knifunptr_cocoapods_FirebaseMessaging1_FIRMessagingErrorDomain_getter': symbol multiply defined!

  • Source files:
  • Compiler version: 2.0.21
  • Output kind: FRAMEWORK

In which platform bug occurs?
ios

To Reproduce
Steps to reproduce the bug:
Xcode -> Product -> Archive

Expected behavior

  • Build successful
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