summaryrefslogtreecommitdiff
path: root/xmake/modules/utils/ipa/package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-10 23:49:13 +0800
committerruki <[email protected]>2020-04-10 16:55:21 +0800
commitd8e9c7eadc64ad333385b30e57362a6d7b58aa3e (patch)
tree3672e0de4c003ce1753f07e4fde6e583addbf668 /xmake/modules/utils/ipa/package.lua
parent2f8ba83840b41de28e7aebd5d12ee35a2bc0c8a1 (diff)
improve resign and ipagen
Diffstat (limited to 'xmake/modules/utils/ipa/package.lua')
-rw-r--r--xmake/modules/utils/ipa/package.lua3
1 files changed, 3 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)