From f5cad39065891e81a1acd22ac37dad39a2c08c16 Mon Sep 17 00:00:00 2001 From: Sergey Bogolepov <1580082+sbogolepov@users.noreply.github.com> Date: Fri, 24 May 2019 11:25:30 +0300 Subject: [PATCH] Fix path to xcode additionalTools (#21) --- .../src/main/kotlin/org/jetbrains/kotlin/konan/target/Xcode.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/src/main/kotlin/org/jetbrains/kotlin/konan/target/Xcode.kt b/shared/src/main/kotlin/org/jetbrains/kotlin/konan/target/Xcode.kt index 39631ac8c1e..ae8e267bd83 100644 --- a/shared/src/main/kotlin/org/jetbrains/kotlin/konan/target/Xcode.kt +++ b/shared/src/main/kotlin/org/jetbrains/kotlin/konan/target/Xcode.kt @@ -44,7 +44,7 @@ private object CurrentXcode : Xcode { override val additionalTools: String by lazy { val bitcodeBuildToolPath = xcrun("-f", "bitcode-build-tool") - File(bitcodeBuildToolPath).parentFile.absolutePath + File(bitcodeBuildToolPath).parentFile.parentFile.absolutePath } override val macosxSdk by lazy { getSdkPath("macosx") }