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
it seems that when i try to publish the library, ios don't export her dependencies, Does anyone has some ideas?
a
Anmol Verma
12/03/2022, 6:25 PM
Yes.. it looks like your framework is not lmported or linked
Anmol Verma
12/03/2022, 6:26 PM
The project which import’s the library need to import the pod in their podfile
Anmol Verma
12/03/2022, 6:26 PM
That’s how i resolved this issue at my end
a
Alberto
12/04/2022, 11:06 AM
Adding pod to podfile works, so why doesn't kmm publish a library as a fat library on the jvm side?
a
Anmol Verma
12/04/2022, 5:21 PM
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