Kotlin Native interoperability is rapidly evolving and the latest iteration, version 0.5, brings support for calling Kotlin code from Swift and Objective-C.
Also, iPhone Simulator is now supported out of the box. Just run
./gradlew iphone_simPlatformLibs ./gradlew iphone_simCrossDistRuntime
to compile the Kotlin bridge for the iOS Simulator platform libs and runtime. The command will take about 1 hour to complete on a recent MacBook Pro.
Also, the samples have been adapted and you will now be able to try out the features straight on your simulator.
And that’s pretty neat.