After upgrading to 1.3.50 running the build on my ~30 lines of code of kotlin native fails with the following error:
Copy code
error: Invalid value (Producer: 'LLVM6.0.1' Reader: 'LLVM APPLE_1_900.0.39.2_0')
1 error generated.
e: Compilation failed: The /Applications/Xcode9.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ command returned non-zero exit code: 1.
output:
* Source files: SampleMacos.kt, PlatformView.kt
* Compiler version info: Konan: 1.3.50 / Kotlin: 1.3.50
* Output kind: STATIC
e: org.jetbrains.kotlin.konan.KonanExternalToolFailure: The /Applications/Xcode9.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ command returned non-zero exit code: 1.
> Process 'command '/local/sdkman/candidates/java/8.0.212-zulu/bin/java'' finished with non-zero exit value 2
Just an FYI if you plan to migrate...
o
olonho
08/23/2019, 2:47 PM
have you tried to update to XCode 10?
y
Yan Pujante
08/23/2019, 2:56 PM
No, I have not. I am currently using XCode 9. I am just pointing out that simply upgrading to 1.3.50 broke something that was working and I don't believe I have seen any requirements on XCode as part of the release notes.