Hello everyone! I already tried to look into this ...
# ios
a
Hello everyone! I already tried to look into this channel.. but I didn't find what I was looking for.. so we are trying to build a very simple KMM library to be shared on one native app we are developing. We started from android studio and created a new project from the template available for KMM library. Than we tried to import manually the library created in a basic IOS app... and it worked success baby Later we spent some days trying to make this library available on our private cocoapod repository.. but with no success sad panda Is there an official procedure to follow to publish the library into a cocoapod repository in order to make it available as a library for an xcode app? Or there is a better way to handle this kind of scenario? Thanks you
l
There’s a tool from Touch lab called KMM-Bridge that can do what you want.
I’ve also had success with creating another GitHub repo and creating a GitHub action that runs publishPodReleaseXCFramework and copies the framework/podspec and pushes it to the GitHub repo and creates a tag.
a
thanks you Landry Norris for your info! we manually pushed the files but we had trouble.. So a part from the plugin that seems interesting and we for sure give a try.. You are saying to.. • publishPodReleaseXCFramework • copy the framework/podspec on the github repo and tag it and it should work
l
Yes. There’s a section in the cocoapods doc that explains how to enable publishing.
r
I missed this thread originally, but feel free to ping us in #touchlab-tools if you need help or something's not working.
a
We completed the tutorial successfully 🙂 thanks you @Landry Norris for the info shared. We will continue investigating with it