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/xcassets | |
| parent | c0aafd82e851cbdbba2292e02df4ac23d00f9ae6 (diff) | |
improve app rules
Diffstat (limited to 'xmake/rules/xcode/xcassets')
| -rw-r--r-- | xmake/rules/xcode/xcassets/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/xcode/xcassets/xmake.lua b/xmake/rules/xcode/xcassets/xmake.lua index 31c26a56d..d20fc278c 100644 --- a/xmake/rules/xcode/xcassets/xmake.lua +++ b/xmake/rules/xcode/xcassets/xmake.lua @@ -88,7 +88,7 @@ rule("xcode.xcassets") end table.insert(argv, "--app-icon") table.insert(argv, "AppIcon") - if is_plat("iphoneos") then + if target:is_plat("iphoneos") then table.insert(argv, "--enable-on-demand-resources") table.insert(argv, "YES") table.insert(argv, "--compress-pngs") |
