From 195891af3b31e1ef47f800fec9a079475da3ee8f Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 25 Sep 2020 00:03:37 +0800 Subject: fix xcode rule --- xmake/rules/xcode/application/build.lua | 2 +- xmake/rules/xcode/bundle/xmake.lua | 2 +- xmake/rules/xcode/framework/xmake.lua | 2 +- 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) -- cgit v1.3.1