From a3699bf5a7a3bb621340f0f603c65c97a70630d8 Mon Sep 17 00:00:00 2001 From: ihomway Date: Mon, 7 Dec 2020 15:52:46 +0800 Subject: [PATCH] Update xcode_swift_toolchain.bzl --- swift/internal/xcode_swift_toolchain.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swift/internal/xcode_swift_toolchain.bzl b/swift/internal/xcode_swift_toolchain.bzl index 8cd32ab1c..32fa33798 100644 --- a/swift/internal/xcode_swift_toolchain.bzl +++ b/swift/internal/xcode_swift_toolchain.bzl @@ -515,7 +515,7 @@ def _swift_apple_target_triple(cpu, platform, version): environment = "-simulator" return "{cpu}-apple-{platform}{version}{environment}".format( - cpu = cpu, + cpu = cpu.replace("sim_", ""), environment = environment, platform = platform_string, version = version,