Closed Narek1994 closed 2 years ago
hi. generated swift code not included into Kotlin framework. generated code can be added to Xcode directly via "Add files..." (location of files described here) or by adding second cocoapod - sharedSwift
. podspec of sharedSwift
generates by gradle task of kswift - kSwiftSharedPodspec
.
here sample with direct files - https://github.com/Alex009/moko-kswift-usage-sample/tree/regular-framework another sample with direct files - https://github.com/Alex009/moko-paging-sample sample with cocoapods - https://github.com/icerockdev/moko-kswift/tree/master/sample/mpp-library-pods
Thanks, figured it out with cocoapods!
Hi, can someone help me to understand how this type of intergration should look alike, I have done everything written in Setup part, but checking with Sample app there is a completely different structure compared with mine.
Here is my plugins and dependencies list
And here is Kswift configuration part.
After that it generates shared.podspec, file
and pod successfully installs, but I dont get any generated file in my source code. Not for sealed classes and not for any binding extensions. Can someone help me to understand what I am doing wrong.