https://kotlinlang.org logo
m

mkrussel

01/05/2021, 8:36 PM
Does anyone know of any examples of how to define cinterop settings to import a Swift xcframework?
k

Kris Wong

01/05/2021, 9:00 PM
is there an obj-c compatibility header?
m

mkrussel

01/05/2021, 9:23 PM
yes
I just cannot figure out how to configure the complier and linking options to correctly work with an xcframework. All my previous work has been with the old framework types. I've also done nothing with Swift before.
I could be wrong about the compatibility header. An iOS dev looked at the Module-Swift.h file and said it seems to have the objective-c export symbols.
k

Kris Wong

01/05/2021, 9:44 PM
oh, if it's different than previous framework types then I can't be of any assistance
4 Views