Skip to content

Commit b5400ed

Browse files
committed
[docs] GettingStarted.md: Minor amendments to instructions for setting up an Xcode workflow
* When an input path must be absolute, emphasize it. * Get around an unnecessary placeholder in a path.
1 parent e47444f commit b5400ed

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/HowToGuides/GettingStarted.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ several more steps are necessary to set up this environment:
350350
* Create a new Xcode workspace.
351351
* Add the generated Xcode projects or Swift packages that are relevant to your
352352
tasks to your workspace. All the Xcode projects can be found among the
353-
build artifacts in `build/Xcode-DebugAssert`. For example:
353+
build artifacts under `build/Xcode-DebugAssert`. For example:
354354
* If you are aiming for the compiler, add `build/Xcode-DebugAssert/swift-macosx-*/Swift.xcodeproj`.
355355
This project also includes the standard library and runtime sources. If you
356356
need the parts of the compiler that are implemented in Swift itself, add the
@@ -375,14 +375,14 @@ several more steps are necessary to set up this environment:
375375
* For a Ninja target that you want to build (e.g. `swift-frontend`), add a
376376
target to the empty project, using the _External Build System_ template.
377377
* In the _Info_ pane of the target settings, set
378-
* _Build Tool_ to the path of the `ninja` executable (the output of
378+
* _Build Tool_ to the absolute path of the `ninja` executable (the output of
379379
`which ninja` on the command line)
380380
* _Arguments_ to the Ninja target name (e.g. `swift-frontend`)
381-
* _Directory_ to the path of the build directory associated with the Ninja
382-
target. For Swift targets, including the standard library and runtime, you
383-
want `path/to/swift-project/build/Ninja-*/swift-macosx-*`
384-
* Add a scheme for the target. Be careful not to select a target from one of the
385-
generated Xcode projects.
381+
* _Directory_ to the absolute path of the directory where the Ninja target
382+
lives. For Swift targets (the compiler, standard library, runtime, and
383+
related tooling), this is the `build/Ninja-*/swift-macosx-*` directory.
384+
* Add a scheme for the target. In the drop-down menu, be careful not to mistake
385+
your target for a similar one that belongs to a generated Xcode project.
386386
* > **Note**
387387
> Ignore this step if the target associates to a non-executable Ninja target
388388
like `swift-stdlib`.

0 commit comments

Comments
 (0)