summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/rules/xcode/application/build.lua2
-rw-r--r--xmake/rules/xcode/bundle/xmake.lua2
-rw-r--r--xmake/rules/xcode/framework/xmake.lua2
3 files changed, 3 insertions, 3 deletions
diff --git a/xmake/rules/xcode/application/build.lua b/xmake/rules/xcode/application/build.lua
index adde11cc3..03aa5da3e 100644
--- a/xmake/rules/xcode/application/build.lua
+++ b/xmake/rules/xcode/application/build.lua
@@ -91,7 +91,7 @@ function main (target, opt)
codesign(bundledir, target:values("xcode.codesign_identity") or get_config("xcode_codesign_identity"), mobile_provision, {deep = true})
-- update files and values to the dependent file
- dependinfo.files = {bundledir}
+ dependinfo.files = {bundledir, target:targetfile()}
depend.save(dependinfo, dependfile)
end
diff --git a/xmake/rules/xcode/bundle/xmake.lua b/xmake/rules/xcode/bundle/xmake.lua
index 183f6cb84..d83920b48 100644
--- a/xmake/rules/xcode/bundle/xmake.lua
+++ b/xmake/rules/xcode/bundle/xmake.lua
@@ -101,7 +101,7 @@ rule("xcode.bundle")
codesign(bundledir, target:values("xcode.codesign_identity") or get_config("xcode_codesign_identity"))
-- update files and values to the dependent file
- dependinfo.files = {bundledir}
+ dependinfo.files = {bundledir, target:targetfile()}
depend.save(dependinfo, dependfile)
end)
diff --git a/xmake/rules/xcode/framework/xmake.lua b/xmake/rules/xcode/framework/xmake.lua
index 192755729..35264d12f 100644
--- a/xmake/rules/xcode/framework/xmake.lua
+++ b/xmake/rules/xcode/framework/xmake.lua
@@ -152,7 +152,7 @@ rule("xcode.framework")
end
-- update files and values to the dependent file
- dependinfo.files = {bundledir}
+ dependinfo.files = {bundledir, target:targetfile()}
depend.save(dependinfo, dependfile)
end)