https://kotlinlang.org logo
Title
u

user

07/13/2022, 10:51 AM
Error importing a framework from Swift to Kotlin in Kotlin Multiplatform I have exported a framework that consists of two classes in Swift, I have used the @objc annotation. I am trying to import it to Kotlin now and I have created a .def file with the following structure: language = Objective-C package = platform.iOSWrapper modules = SingletonFramework and in my build.gradle I've put these two: iosX64() { compilations.getByName("main") { val DateTools by cinterops.creating { // Path to .def file...