summaryrefslogtreecommitdiff
path: root/xmake/toolchains/xcode/check.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-06-28 00:50:41 +0800
committerruki <[email protected]>2025-06-28 00:50:41 +0800
commitc982716c0c6d1de9f641d37edd9104de261dbf06 (patch)
tree4d526463c2ec90abcf119b649113d2b1d7d754b1 /xmake/toolchains/xcode/check.lua
parent0553979151a2ffc8910561a5671a0643db3e394f (diff)
fix check tips
Diffstat (limited to 'xmake/toolchains/xcode/check.lua')
-rw-r--r--xmake/toolchains/xcode/check.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/toolchains/xcode/check.lua b/xmake/toolchains/xcode/check.lua
index 225e84284..a06cb7a86 100644
--- a/xmake/toolchains/xcode/check.lua
+++ b/xmake/toolchains/xcode/check.lua
@@ -57,7 +57,11 @@ function main(toolchain)
config.set("xcode", xcode.sdkdir, {force = true, readonly = true})
config.set("xcode_mobile_provision", xcode.mobile_provision, {force = true, readonly = true})
config.set("xcode_codesign_identity", xcode.codesign_identity, {force = true, readonly = true})
- cprint("checking for Xcode directory ... ${color.success}%s", xcode.sdkdir)
+ if xcode.sdkdir then
+ cprint("checking for Xcode directory ... ${color.success}%s", xcode.sdkdir)
+ else
+ cprint("checking for Xcode directory ... ${color.nothing}${text.nothing}")
+ end
if xcode.codesign_identity then
cprint("checking for Codesign Identity of Xcode ... ${color.success}%s", xcode.codesign_identity)
else