Getting warnings when embedding framework into a S...
# multiplatform
m
Getting warnings when embedding framework into a Swift app.
LibraryKotlinCharCompanion could not be mapped to KotlinChar.Companion
,
LibraryKotlinStringCompanion could not be mapped to KotlinString.Companion
please report this issue to owner of Library. Am I missing a configuration or export on the framework to not have the warnings?
n
I have the exact same issue but it is not a warning but an error. How did you fix this ? ’^^
m
I do not remember anymore.
n
😢
It fails only after a clean build. When I rebuild without cleaning it works. 😅
In fact it is just a warning and it is due to
transitiveExport
being set to
true
. Removing
transitiveExport
solved the issue.