diff options
| author | ruki <[email protected]> | 2020-04-08 23:34:09 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-04-08 15:24:59 +0800 |
| commit | 73323570007d4765824883c64036e72eabdab2cf (patch) | |
| tree | ddeaffa62543d8bdc2440f59ee700f7aaaa3c979 /xmake/rules/xcode/application/load.lua | |
| parent | c472bf464c4af2532d574d1063e473863f1adb54 (diff) | |
support for building xcode.app/iphoneos
Diffstat (limited to 'xmake/rules/xcode/application/load.lua')
| -rw-r--r-- | xmake/rules/xcode/application/load.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/rules/xcode/application/load.lua b/xmake/rules/xcode/application/load.lua index cb9da887a..4986d454f 100644 --- a/xmake/rules/xcode/application/load.lua +++ b/xmake/rules/xcode/application/load.lua @@ -28,10 +28,11 @@ function main (target) -- get contents and resources directory local contentsdir = appdir + local resourcesdir = appdir if is_plat("macosx") then contentsdir = path.join(appdir, "Contents") + resourcesdir = path.join(appdir, "Contents", "Resources") end - local resourcesdir = path.join(contentsdir, "Resources") target:data_set("xcode.app.contentsdir", contentsdir) target:data_set("xcode.app.resourcesdir", resourcesdir) |
