I'm attempting to use some Objective-C libraries i...
# kotlin-native
j
I'm attempting to use some Objective-C libraries in a klib. During the last phases of compilation, I receive this compiler error. Any ideas why?
[system.err] error: can't produce platform.Foundation.NSArray to framework API
s
You have a public method or property that is exposing NSArray and it is becoming a part of the classes signature. I’ve had to make sure that any method I write taking an ObjC object as a parameter or returning one is marked as internal.
j
Thanks for the help, that cleared it up for me.