summaryrefslogtreecommitdiff
path: root/xmake/rules/xcode/application/build.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules/xcode/application/build.lua')
-rw-r--r--xmake/rules/xcode/application/build.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/xcode/application/build.lua b/xmake/rules/xcode/application/build.lua
index f65ad2855..a3cbf062f 100644
--- a/xmake/rules/xcode/application/build.lua
+++ b/xmake/rules/xcode/application/build.lua
@@ -35,7 +35,7 @@ function main (target, opt)
local frameworksdir = path.join(contentsdir, "Frameworks")
-- do build if changed
- depend.on_changed(function ()
+ depend._on_changed(function ()
-- trace progress info
progress.show(opt.progress, "${color.build.target}generating.xcode.$(mode) %s", path.filename(bundledir))
@@ -106,6 +106,6 @@ function main (target, opt)
end
codesign(bundledir, codesign_identity, mobile_provision, {deep = true})
- end, {dependfile = target:dependfile(bundledir), files = {bundledir, target:targetfile()}})
+ end, {dependfile = target:dependfile(bundledir), files = {bundledir, target:targetfile()}, changed = target:is_rebuilt()})
end