From c3bec4b1e483f5bcf443cf1a26b3b8bd8cfa2fba Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 16 Dec 2020 23:49:44 +0800 Subject: improve app rules --- xmake/rules/xcode/application/package.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/rules/xcode/application/package.lua') diff --git a/xmake/rules/xcode/application/package.lua b/xmake/rules/xcode/application/package.lua index d7aa9cbfd..bcf8d60fe 100644 --- a/xmake/rules/xcode/application/package.lua +++ b/xmake/rules/xcode/application/package.lua @@ -40,7 +40,7 @@ end -- main entry function main (target, opt) - if is_plat("iphoneos") then + if target:is_plat("iphoneos") then _package_for_ios(target) end end -- cgit v1.3.1