Hi! I develop a kmm library that uses a pod inside...
# multiplatform
a
Hi! I develop a kmm library that uses a pod inside. When i publish this library and use it on another clean kmm project, ios app build failed with this error
Undefined symbol: _OBJC_CLASS_$__TtC11MqttWrapper17BinderWillMessage
it seems that when i try to publish the library, ios don't export her dependencies, Does anyone has some ideas?
a
Yes.. it looks like your framework is not lmported or linked
The project which import’s the library need to import the pod in their podfile
That’s how i resolved this issue at my end
a
Adding pod to podfile works, so why doesn't kmm publish a library as a fat library on the jvm side?
a
Cool so adding the pod works! I can’t answer why it doesn’t publish the framework with the library dependency 🤷🏻‍♂️ i think it does export a static library *.a buy not *.framework files