There might be an issue with the Stub generator wh...
# kotlin-native
n
There might be an issue with the Stub generator which causes ObjC properties prefixed with
new
to produce non compiling code, I created an issue https://github.com/JetBrains/kotlin-native/issues/3336 in case others are also experimenting with using Cocoapods dependencies and hitting an `this annotation is not applicable to target 'getter'`…
I believe the same issue could occur if the property begins with “alloc”, “copy”, or “mutableCopy” as these are memory management naming convention in ObjC https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/MemoryMgmt/Articles/mmRules.html
o
feel free to report an issue
n
done