summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/iphoneos/prober.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/platform/iphoneos/prober.lua')
-rw-r--r--xmake/scripts/platform/iphoneos/prober.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/scripts/platform/iphoneos/prober.lua b/xmake/scripts/platform/iphoneos/prober.lua
index 589e3a4b1..d5de4a7c5 100644
--- a/xmake/scripts/platform/iphoneos/prober.lua
+++ b/xmake/scripts/platform/iphoneos/prober.lua
@@ -135,12 +135,12 @@ function prober.config(configs)
if not prober._probe_xcode(configs) then return end
-- probe the xcode sdk version
- if not is_global and not prober._probe_xcode_sdkver(configs) then return end
+ if not prober._probe_xcode_sdkver(configs) then return end
end
-- probe the global configure
-function prober.config(configs)
+function prober.global(configs)
-- probe the xcode application directory
if not prober._probe_xcode(configs) then return end