Unfortunately I'm not aware of any other way how to wrap the Swift library into Objective-C so that you can use it in KMP... OTOH - the article looks complicated because it describes each and every step to have a working binding; so it saved me when I needed to achieve something similar 😉
thank you color 1
j
Joel Denke
01/26/2024, 9:10 AM
From my understanding Jetbrains will release soon support for importing Swift libraries directly in KMP, to be able to use thinks like CryptoKit directly. But dont quote me on that one 😄 Meaning directly interop with Swift.