Skip to content

Commit 1ef1d1f

Browse files
committed
Simplify suggestion of xcrun for a missing SDK.
macOS is the default SDK when you don't use anything else. (Also, "macOS", not "OS X".)
1 parent ba2e4e1 commit 1ef1d1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/AST/DiagnosticsSema.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ ERROR(sema_no_import_repl,none,
459459
NOTE(sema_no_import_no_sdk,none,
460460
"did you forget to set an SDK using -sdk or SDKROOT?", ())
461461
NOTE(sema_no_import_no_sdk_xcrun,none,
462-
"use \"xcrun -sdk macosx swiftc\" to select the default OS X SDK "
462+
"use \"xcrun swiftc\" to select the default macOS SDK "
463463
"installed with Xcode", ())
464464
WARNING(sema_import_current_module,none,
465465
"this file is part of module %0; ignoring import", (Identifier))

0 commit comments

Comments
 (0)