diff options
| author | ruki <[email protected]> | 2025-07-07 22:48:23 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-07-07 22:48:23 +0800 |
| commit | 861ca5b20d8df3ca9cef82d4b393356b3120279a (patch) | |
| tree | d2ca3c5de951cb94832a607e8d87d64bbb299fd2 /xmake/toolchains/xcode/check.lua | |
| parent | 9fa8a32a5ef8b10106bc7715f87d7baddddf1c0a (diff) | |
improve checktips
Diffstat (limited to 'xmake/toolchains/xcode/check.lua')
| -rw-r--r-- | xmake/toolchains/xcode/check.lua | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/xmake/toolchains/xcode/check.lua b/xmake/toolchains/xcode/check.lua index ad43e70a2..eece3399f 100644 --- a/xmake/toolchains/xcode/check.lua +++ b/xmake/toolchains/xcode/check.lua @@ -62,16 +62,18 @@ function main(toolchain) 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 - cprint("checking for Codesign Identity of Xcode ... ${color.nothing}${text.nothing}") - end - if toolchain:is_plat("iphoneos") then - if xcode.mobile_provision then - cprint("checking for Mobile Provision of Xcode ... ${color.success}%s", xcode.mobile_provision) + if option.get("verbose") then + if xcode.codesign_identity then + cprint("checking for Codesign Identity of Xcode ... ${color.success}%s", xcode.codesign_identity) else - cprint("checking for Mobile Provision of Xcode ... ${color.nothing}${text.nothing}") + cprint("checking for Codesign Identity of Xcode ... ${color.nothing}${text.nothing}") + end + if toolchain:is_plat("iphoneos") then + if xcode.mobile_provision then + cprint("checking for Mobile Provision of Xcode ... ${color.success}%s", xcode.mobile_provision) + else + cprint("checking for Mobile Provision of Xcode ... ${color.nothing}${text.nothing}") + end end end end |
