I’ve tried building my kotlin native project using...
# kotlin-native
y
I’ve tried building my kotlin native project using Xcode 10 GM and I’m getting a compilation error:
Copy code
targeted OS version does not support use of thread local variables in _kfun:com.TestEnum.$OBJECT.$get-VALUES()kotlin.Array<com.TestEnum> for architecture x86_64
Copy code
* What went wrong:
Execution failed for task ':platform-ios:compileDebugIos_x64KotlinNative'.
> Process 'command '/Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1
Anyone know how to solve this?
The class it has a problem is an enum:
Copy code
enum class TestEnum{
    CASE1,
    CASE2,
    CASE3
}
I’m using K/N 0.9 too
o
Xcode 10 is not yet supported, pleas use 9.4.1
y
thanks!