diff options
| -rw-r--r-- | xmake/modules/utils/ipa/package.lua | 3 | ||||
| -rw-r--r-- | xmake/rules/xcode/storyboard/xmake.lua | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/xmake/modules/utils/ipa/package.lua b/xmake/modules/utils/ipa/package.lua index 0b3d6afcf..354da1150 100644 --- a/xmake/modules/utils/ipa/package.lua +++ b/xmake/modules/utils/ipa/package.lua @@ -40,6 +40,9 @@ function main (appdir, ipafile, iconfile) end ipafile = path.absolute(ipafile) + -- remove the old ipafile first + os.tryrm(ipafile) + -- the temporary directory local tmpdir = path.join(os.tmpdir(), "ipagen", appname) diff --git a/xmake/rules/xcode/storyboard/xmake.lua b/xmake/rules/xcode/storyboard/xmake.lua index 3c0146a78..fabc60082 100644 --- a/xmake/rules/xcode/storyboard/xmake.lua +++ b/xmake/rules/xcode/storyboard/xmake.lua @@ -57,6 +57,9 @@ rule("xcode.storyboard") cprint("${color.build.object}compiling.xcode.$(mode) %s", sourcefile) end + -- clear Base.lproj first + os.tryrm(base_lproj) + -- do compile local argv = {"--errors", "--warnings", "--notices", "--auto-activate-custom-fonts", "--output-format", "human-readable-text"} if is_plat("macosx") then |
