Closed sed0 closed 1 year ago
hi! external libraries should be exported in framework settings to use from swift. https://kotlinlang.org/docs/multiplatform-build-native-binaries.html#export-dependencies-to-binaries
also you can add excludeLibrary
in gradle to not generate code that you will not use
Hello! We need kswift to generate files for external libraries but it's generating files with these errors: "Cannot find type 'ClassName' in scope" and "No type named 'ClassName' in module 'shared'"
The generated files are ok but it looks like the libraries are inaccessible in ios/swift for some reason. We use kswift with default settings in a number of projects and all of the external lib files are generated with this issue