summaryrefslogtreecommitdiff
path: root/xmake/rules/xcode/application/uninstall.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules/xcode/application/uninstall.lua')
-rw-r--r--xmake/rules/xcode/application/uninstall.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/xcode/application/uninstall.lua b/xmake/rules/xcode/application/uninstall.lua
index be06e9fff..421cb8e83 100644
--- a/xmake/rules/xcode/application/uninstall.lua
+++ b/xmake/rules/xcode/application/uninstall.lua
@@ -38,9 +38,9 @@ end
-- main entry
function main (target)
- if is_plat("iphoneos") then
+ if target:is_plat("iphoneos") then
_uninstall_for_ios(target)
- elseif is_plat("macosx") then
+ elseif target:is_plat("macosx") then
_uninstall_for_macosx(target)
end
end