From 75a2bc862eae7ed95ddee16e4271b773c95aeb65 Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 8 Dec 2015 11:21:18 +0800 Subject: add swift compiler --- xmake/scripts/platform/iphonesimulator/prober.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'xmake/scripts/platform/iphonesimulator/prober.lua') diff --git a/xmake/scripts/platform/iphonesimulator/prober.lua b/xmake/scripts/platform/iphonesimulator/prober.lua index ae9754f81..72671ecfa 100644 --- a/xmake/scripts/platform/iphonesimulator/prober.lua +++ b/xmake/scripts/platform/iphonesimulator/prober.lua @@ -239,6 +239,7 @@ function prober._probe_toolchains(configs) if not prober._probe_toolpath(configs, "ld", "xcrun -sdk iphonesimulator ", "clang++", "the linker") then return false end if not prober._probe_toolpath(configs, "ar", "xcrun -sdk iphonesimulator ", "ar", "the static library linker") then return false end if not prober._probe_toolpath(configs, "sh", "xcrun -sdk iphonesimulator ", "clang++", "the shared library linker") then return false end + if not prober._probe_toolpath(configs, "sc", "xcrun -sdk iphonesimulator ", "swiftc", "the swift compiler") then return false end return true end -- cgit v1.3.1