Trying to figure out kmm library structure when pu...
# multiplatform
m
Trying to figure out kmm library structure when publishing iOS library on cocoapods. I have setup a cocoapod to import the shared code into the ios module and all is good. The podspec is in the shared module. Do I need to add an additional podspec for distribution of the ios module? If so, would I use the root project as the source?
v
Hi Matthew, As of now cocoapods plugin generates podspec for local pod only. If you’d like to publish your library to public or private pod repo then cocoapods plugin can not do it for you. But you can build an XCFramework and create a podspec manually for it and then publish. Kotlin 1.6.20 will include functionality for generating cocoapods plugin suitable for publishing
🙏 2