How can I implement SealedToSwiftEnumFeature for xcframework?
Opened this issue · 3 comments
So I've created a KMM Library project, not KMM App project. I've follow all the steps in your Github Readme and Medium How to implement Swift-friendly API with Kotlin Multiplatform Mobile. I've created the sealed class
And after I generate it into XCFramework ./gradlew assembleXCFramework
, the sealed class still convert into this
Am I doing it wrong? If you wanted to check out my code, here's the repository https://github.com/Fostahh/MySharedKMMLibrary
@Fostahh generated swift code not part of xcframework. swift code located in build directory. check this sample - Alex009/moko-kswift-usage-sample@fc92131
@Alex009 thank you so much for replying! But in my case, I don't have any iosApp or androidApp module in this KM Lib Project since I'm going to use this as a library or SDK. Then, I'm going to link this KM Library/SDK into my existing Xcode project. Is this possible to implement sealed class for my case?