summaryrefslogtreecommitdiff
path: root/xmake/toolchains/xcode/check.lua
diff options
context:
space:
mode:
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