From b6436a2df4a37f82e38723711937743daceb5367 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 5 Apr 2020 15:53:09 +0800 Subject: improve codesign --- xmake/rules/xcode/application/xmake.lua | 2 +- xmake/rules/xcode/bundle/xmake.lua | 2 +- xmake/rules/xcode/framework/xmake.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'xmake/rules/xcode') 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) -- cgit v1.3.1