diff options
| author | ruki <[email protected]> | 2020-12-16 23:49:44 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-12-16 23:49:44 +0800 |
| commit | c3bec4b1e483f5bcf443cf1a26b3b8bd8cfa2fba (patch) | |
| tree | 5ba61ef9a096a332a2862cb158fe4c19fd38d76f /xmake/rules/xcode/storyboard/xmake.lua | |
| parent | c0aafd82e851cbdbba2292e02df4ac23d00f9ae6 (diff) | |
improve app rules
Diffstat (limited to 'xmake/rules/xcode/storyboard/xmake.lua')
| -rw-r--r-- | xmake/rules/xcode/storyboard/xmake.lua | 2 |
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 |
