Skip to content

Commit 4e8cbbc

Browse files
committedMar 21, 2021
Renamed branch references from master to main
1 parent dd599d0 commit 4e8cbbc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ $ ./FooTests --dump-tests-json
9494

9595
To contribute, you'll need to be able to build this project and and run its test suite. The easiest way to do so is via the Swift build script.
9696

97-
First, follow [the instructions in the Swift README](https://github.com/apple/swift/blob/master/README.md) to build Swift from source. Confirm you're able to build the Swift project using `utils/build-script -R`.
97+
First, follow [the instructions in the Swift README](https://github.com/apple/swift/blob/main/README.md) to build Swift from source. Confirm you're able to build the Swift project using `utils/build-script -R`.
9898

9999
Once you are able to build the Swift project, build XCTest and run its tests:
100100

@@ -103,7 +103,7 @@ $ cd swift-corelibs-xctest
103103
$ ../swift/utils/build-script --preset corelibs-xctest
104104
```
105105

106-
This project is only guaranteed to build with the very latest commit on the Swift and swift-corelibs-foundation `master` branches. You may update to the latest commits using the Swift `utils/update-checkout` script:
106+
This project is only guaranteed to build with the very latest commit on the Swift and swift-corelibs-foundation `main` branches. You may update to the latest commits using the Swift `utils/update-checkout` script:
107107

108108
```
109109
$ ../swift/utils/update-checkout
@@ -115,6 +115,6 @@ To browse files in this project using Xcode, use `XCTest.xcworkspace`. You may b
115115

116116
However, in order to successfully build the project in Xcode, **you must use an Xcode toolchain with an extremely recent version of Swift**. The Swift website provides [Xcode toolchains to download](https://swift.org/download/#latest-development-snapshots), as well as [instructions on how to use Xcode with those toolchains](https://swift.org/download/#apple-platforms). Swift development moves fairly quickly, and so even a week-old toolchain may no longer work.
117117

118-
> If none of the toolchains available to download are recent enough to build XCTest, you may build your own toolchain by using the [`utils/build-toolchain` script](https://github.com/apple/swift/blob/master/utils/build-toolchain) in the Swift repository.
118+
> If none of the toolchains available to download are recent enough to build XCTest, you may build your own toolchain by using the [`utils/build-toolchain` script](https://github.com/apple/swift/blob/main/utils/build-toolchain) in the Swift repository.
119119
>
120120
> Keep in mind that the build script invocation in "Contributing to XCTest" above will always work, regardless of which Swift toolchains you have installed. The Xcode workspace exists simply for the convenience of contributors. It is not necessary to successfully build this project in Xcode in order to contribute.

0 commit comments

Comments
 (0)
Please sign in to comment.