diff options
| author | ruki <[email protected]> | 2020-04-05 16:15:13 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-04-05 16:15:13 +0800 |
| commit | a60c8e6025e597fd569a41e5add672d87bd4ca5a (patch) | |
| tree | ad3c7e486f6677b67eeccb86544e5c77e1b586c1 /xmake/rules/xcode | |
| parent | b6436a2df4a37f82e38723711937743daceb5367 (diff) | |
add codesign config
Diffstat (limited to 'xmake/rules/xcode')
| -rw-r--r-- | xmake/rules/xcode/application/xmake.lua | 2 | ||||
| -rw-r--r-- | xmake/rules/xcode/bundle/xmake.lua | 2 | ||||
| -rw-r--r-- | xmake/rules/xcode/framework/xmake.lua | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/xmake/rules/xcode/application/xmake.lua b/xmake/rules/xcode/application/xmake.lua index 510ab143d..724018da2 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, target:values("xcode.codesign_identity")) + codesign(appdir, target:values("xcode.codesign_identity") or get_config("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 3a9f6144c..1e0ce3723 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, target:values("xcode.codesign_identity")) + codesign(bundledir, target:values("xcode.codesign_identity") or get_config("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 a502abdeb..097a42ff7 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"), target:values("xcode.codesign_identity")) + codesign(path.join(frameworkdir, "Versions", "A"), target:values("xcode.codesign_identity") or get_config("xcode_codesign_identity")) end) on_install(function (target) |
