summaryrefslogtreecommitdiff
path: root/xmake/modules/private/tools/codesign.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/private/tools/codesign.lua')
-rw-r--r--xmake/modules/private/tools/codesign.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/tools/codesign.lua b/xmake/modules/private/tools/codesign.lua
index 8bdeabcac..1517c72b0 100644
--- a/xmake/modules/private/tools/codesign.lua
+++ b/xmake/modules/private/tools/codesign.lua
@@ -67,7 +67,7 @@ function main (programdir, codesign_identity)
-- get codesign
local sign = "-"
- if codesign_identity then
+ if codesign_identity then -- we will uses sign/'-' if be false for `xmake f --xcode_codesign_identity=n`
local identities = codesign_identities()
if identities then
sign = identities[codesign_identity]