Skip to content

Commit 94cfbe2

Browse files
authored
Improve prompt when cmd 'xcodebuild' missing
1 parent 4534cb7 commit 94cfbe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1k/1kiss.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1522,7 +1522,7 @@ function setup_msvc() {
15221522
function setup_xcode() {
15231523
$xcode_prog, $xcode_ver = find_prog -name 'xcode' -cmd "xcodebuild" -params @('-version')
15241524
if (!$xcode_prog) {
1525-
throw "Missing Xcode, please install"
1525+
throw "The command 'xcodebuild' not work, if you confirm Xcode was installed on this computer, please execute 'sudo xcode-select -switch /Applications/Xcode.app' and try again"
15261526
}
15271527
}
15281528

0 commit comments

Comments
 (0)