Skip to content

Commit ea1d0a3

Browse files
Merge pull request #63541 from apple/AnthonyLatsis-patch-2
2 parents 7a12003 + a7517b0 commit ea1d0a3

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

docs/HowToGuides/GettingStarted.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -386,15 +386,16 @@ several more steps are necessary to set up this environment:
386386
387387
* Create an empty Xcode project in the workspace, using the
388388
_External Build System_ template.
389-
* For a Ninja target that you want to build (e.g. `swift-frontend`), add a
390-
target to the empty project, using the _External Build System_ template.
389+
* Add a target to the empty project, using the _External Build System_ template,
390+
and name it after the Ninja target that you want to build (e.g. `swift-frontend`
391+
is the compiler).
391392
* In the _Info_ pane of the target settings, set
392393
* _Build Tool_ to the absolute path of the `ninja` executable (the output of
393394
`which ninja` on the command line)
394-
* _Arguments_ to the Ninja target name (e.g. `swift-frontend`)
395-
* _Directory_ to the absolute path of the directory where the Ninja target
396-
lives. For Swift targets (the compiler, standard library, runtime, and
397-
related tooling), this is the `build/Ninja-*/swift-macosx-*` directory.
395+
* _Arguments_ to the Ninja target (e.g. `bin/swift-frontend`)
396+
* _Directory_ to the absolute path of the build directory where the Ninja
397+
target lives. For Swift targets such as the compiler or standard library,
398+
this is the `build/Ninja-*/swift-macosx-*` directory.
398399
* Add a scheme for the target. In the drop-down menu, be careful not to mistake
399400
your target for a similar one that belongs to a generated Xcode project.
400401
* > **Note**
@@ -406,7 +407,7 @@ several more steps are necessary to set up this environment:
406407
the appropriate `bin` directory (e.g. `build/Ninja-*/swift-macosx-*/bin/swift-frontend`).
407408
* In the _Arguments_ pane, add the command line arguments that you want to
408409
pass to the executable on launch (e.g. `path/to/file.swift -typecheck` for
409-
`swift-frontend`).
410+
`bin/swift-frontend`).
410411
* You can optionally set the working directory for debugging in the
411412
_Options_ pane.
412413
* Configure as many more target-scheme pairs as you need.

0 commit comments

Comments
 (0)