How do you get more details from failing K2Native ...
# kotlin-native
h
How do you get more details from failing K2Native compiler, eg by providing arguments to the compiler (with gradle)? I am getting this error message and would like to find the root cause/file:
Copy code
e: Compilation failed: Symbol for public platform.Foundation/NSCopyingProtocol|null[100] is unbound

 * Source files: 
 * Compiler version info: Konan: 1.5.30 / Kotlin: 1.5.30
 * Output kind: FRAMEWORK
r
That's an internal compiler bug, your best bet is to report it to youtrack . Otherwise you can try to use
-Dkotlin.compiler.execution.strategy="in-process"
and see if there's a way to increase the log level, but I don't know of one
Also make sure you're running gradle w/
--stacktrace
h
Yeah, I did https://youtrack.jetbrains.com/issue/KT-48816 Thanks, I will try logging too.