Hi. I have ```__attribute__((objc_subclassing_rest...
# kotlin-native
m
Hi. I have
Copy code
__attribute__((objc_subclassing_restricted))
__attribute__((swift_name("A")))
@interface Lib_babylon_clientA : KotlinBase
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
- (void)b __attribute__((swift_name("b()")));
@end;
in .h file of generated .framework file. What could be the reason of
Type 'A' has no member 'b'
Swift compilation error for
A().b()
?
m
Different
A
than you expect, i.e. for a different module?
m
No. I gues cause is wrong ios target.. Will check later..