diff options
Diffstat (limited to 'xmake/rules/xcode/application/install.lua')
| -rw-r--r-- | xmake/rules/xcode/application/install.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/rules/xcode/application/install.lua b/xmake/rules/xcode/application/install.lua index bc76248ab..dee303ce4 100644 --- a/xmake/rules/xcode/application/install.lua +++ b/xmake/rules/xcode/application/install.lua @@ -62,13 +62,13 @@ end -- main entry function main (target) - if is_plat("iphoneos") then - if is_arch("x86_64", "i386") then + if target:is_plat("iphoneos") then + if target:is_arch("x86_64", "i386") then _install_for_ios_simulator(target) else _install_for_ios(target) end - elseif is_plat("macosx") then + elseif target:is_plat("macosx") then _install_for_macosx(target) end end |
