summaryrefslogtreecommitdiff
path: root/xmake/rules/xcode
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-05 15:53:09 +0800
committerruki <[email protected]>2020-04-05 15:53:37 +0800
commitb6436a2df4a37f82e38723711937743daceb5367 (patch)
tree8e923537a4d6d2ded571ac5f27797466c5009cce /xmake/rules/xcode
parent4f7b37fa0ab9afa8b21b2c19980683c0eef60e8c (diff)
improve codesign
Diffstat (limited to 'xmake/rules/xcode')
-rw-r--r--xmake/rules/xcode/application/xmake.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/xmake.lua b/xmake/rules/xcode/application/xmake.lua
index 0cd4ae2bd..510ab143d 100644
--- a/xmake/rules/xcode/application/xmake.lua
+++ b/xmake/rules/xcode/application/xmake.lua
@@ -93,7 +93,7 @@ rule("xcode.application")
end
-- do codesign
- codesign(appdir)
+ codesign(appdir, target:values("xcode.codesign_identity"))
end)
on_install(function (target)
diff --git a/xmake/rules/xcode/bundle/xmake.lua b/xmake/rules/xcode/bundle/xmake.lua
index 97b2e9966..3a9f6144c 100644
--- a/xmake/rules/xcode/bundle/xmake.lua
+++ b/xmake/rules/xcode/bundle/xmake.lua
@@ -82,7 +82,7 @@ rule("xcode.bundle")
end
-- do codesign
- codesign(bundledir)
+ codesign(bundledir, target:values("xcode.codesign_identity"))
end)
on_install(function (target)
diff --git a/xmake/rules/xcode/framework/xmake.lua b/xmake/rules/xcode/framework/xmake.lua
index 6cc5ec1c7..a502abdeb 100644
--- a/xmake/rules/xcode/framework/xmake.lua
+++ b/xmake/rules/xcode/framework/xmake.lua
@@ -134,7 +134,7 @@ rule("xcode.framework")
os.cd(oldir)
-- do codesign
- codesign(path.join(frameworkdir, "Versions", "A"))
+ codesign(path.join(frameworkdir, "Versions", "A"), target:values("xcode.codesign_identity"))
end)
on_install(function (target)