Merge pull request #63451 from apple/AnthonyLatsis-patch-2

[docs] GettingStarted: Replace build variant suffix with asterisks in paths to `--xcode` build artifacts
This commit is contained in:
Anthony Latsis
2023-02-06 21:50:59 +03:00
committed by GitHub

View File

@@ -276,9 +276,8 @@ Phew, that's a lot to digest! Now let's proceed to the actual build itself!
on Linux, add the `--xctest` flag to `build-script`. on Linux, add the `--xctest` flag to `build-script`.
In the following sections, for simplicity, we will assume that you are using a In the following sections, for simplicity, we will assume that you are using a
`Ninja-RelWithDebInfoAssert` build on macOS running on an Intel-based Mac, `Ninja-RelWithDebInfoAssert` build on macOS, unless explicitly mentioned otherwise.
unless explicitly mentioned otherwise. You will need to slightly tweak the paths You will need to slightly tweak the paths for other build configurations.
for other build configurations.
### Troubleshooting build issues ### Troubleshooting build issues
@@ -365,13 +364,13 @@ several more steps are necessary to set up this environment:
* Create a new Xcode workspace. * Create a new Xcode workspace.
* Add the generated Xcode projects or Swift packages that are relevant to your * Add the generated Xcode projects or Swift packages that are relevant to your
tasks to your workspace. All the Xcode projects can be found among the tasks to your workspace. All the Xcode projects can be found among the
build artifacts under `build/Xcode-ReleaseAssert`. For example: build artifacts under `build/Xcode-*/`. For example:
* If you are aiming for the compiler, add `build/Xcode-ReleaseAssert/swift-macosx-*/Swift.xcodeproj`. * If you are aiming for the compiler, add `build/Xcode-*/swift-macosx-*/Swift.xcodeproj`.
This project also includes the standard library and runtime sources. If you This project also includes the standard library and runtime sources. If you
need the parts of the compiler that are implemented in Swift itself, add the need the parts of the compiler that are implemented in Swift itself, add the
`swift/SwiftCompilerSources/Package.swift` package as well. `swift/SwiftCompilerSources/Package.swift` package as well.
* If you are aiming for just the standard library or runtime, add * If you are aiming for just the standard library or runtime, add
`build/Xcode-ReleaseAssert/swift-macosx-*/stdlib/Swift-stdlib.xcodeproj`. `build/Xcode-*/swift-macosx-*/stdlib/Swift-stdlib.xcodeproj`.
<!-- FIXME: Without this "hard" line break, the note doesnt get properly spaced from the bullet --> <!-- FIXME: Without this "hard" line break, the note doesnt get properly spaced from the bullet -->
<br /> <br />