summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/iphonesimulator/prober.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/platform/iphonesimulator/prober.lua')
-rw-r--r--xmake/scripts/platform/iphonesimulator/prober.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/scripts/platform/iphonesimulator/prober.lua b/xmake/scripts/platform/iphonesimulator/prober.lua
index 90b64cb4f..3683b9c57 100644
--- a/xmake/scripts/platform/iphonesimulator/prober.lua
+++ b/xmake/scripts/platform/iphonesimulator/prober.lua
@@ -111,7 +111,7 @@ function prober._probe_xcode_sdkver(configs)
-- attempt to match the directory
if not xcode_sdkver then
- local dirs = os.match(configs.get("xcode_dir") .. "/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS*.sdk", true)
+ local dirs = os.match(configs.get("xcode_dir") .. "/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator*.sdk", true)
if dirs then
for _, dir in ipairs(dirs) do
xcode_sdkver = string.match(dir, "%d+%.%d+")