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

Imported declaration 'SharedNapierNapierLevel' could not be mapped to 'NapierNapier.Level' #54

Open
PhilipDukhov opened this issue Sep 30, 2020 · 0 comments

Comments

@PhilipDukhov
Copy link
Contributor

I'm using Napier for Android/iOS multiplatform project. I'm getting such warning on __attribute__((swift_name("NapierNapier.Level"))) line.
Also when I tried to pass NapierNapier.Level as a parameter of crashlyticsAddLog lambda, kotlin didn't generated an initializer in obj-c code at all. I've tried some simple enums in my shared code, and those are available in my iOS code, so It's strange that enum from Napier is not.
Perfectly I'd like to use the enum, but at least I don't want that warning in Xcode, when I pass Int.

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