summaryrefslogtreecommitdiff
path: root/xmake/rules/xcode/storyboard/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-12-16 23:49:44 +0800
committerruki <[email protected]>2020-12-16 23:49:44 +0800
commitc3bec4b1e483f5bcf443cf1a26b3b8bd8cfa2fba (patch)
tree5ba61ef9a096a332a2862cb158fe4c19fd38d76f /xmake/rules/xcode/storyboard/xmake.lua
parentc0aafd82e851cbdbba2292e02df4ac23d00f9ae6 (diff)
improve app rules
Diffstat (limited to 'xmake/rules/xcode/storyboard/xmake.lua')
-rw-r--r--xmake/rules/xcode/storyboard/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/xcode/storyboard/xmake.lua b/xmake/rules/xcode/storyboard/xmake.lua
index 95a9c9aed..bfa88e6e1 100644
--- a/xmake/rules/xcode/storyboard/xmake.lua
+++ b/xmake/rules/xcode/storyboard/xmake.lua
@@ -86,7 +86,7 @@ rule("xcode.storyboard")
-- do link
argv = {"--errors", "--warnings", "--notices", "--auto-activate-custom-fonts", "--output-format", "human-readable-text"}
- if is_plat("macosx") then
+ if target:is_plat("macosx") then
table.insert(argv, "--target-device")
table.insert(argv, "mac")
end