Hey Guys, Kotlin/Native throws the following excep...
# kotlin-native
s
Hey Guys, Kotlin/Native throws the following exception in my project (when using interop with ObjC):
Copy code
Blocks with non-reference-typed return value aren't supported (v)
According to the apple documentation (https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ObjCRuntimeGuide/Articles/ocrtTypeEncodings.html#//apple_ref/doc/uid/TP40008048-CH100),
v
stands for
void
, which makes sense because the block in question (in this instance, the last parameter of
nw_connection_receive
) returns void. Anyone has heard of this?