Skip to content

Commit 3f26298

Browse files
authored
Merge pull request #67765 from nicked/nicked/getting-started
Update GettingStarted with note on M1 Macs
2 parents 5024014 + 46ed883 commit 3f26298

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/HowToGuides/GettingStarted.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,15 @@ toolchain as a one-off, there are a couple of differences:
196196
* If you installed and want to use Sccache: Run `sccache --version`; check
197197
that this succeeds.
198198

199+
> **Note**
200+
> If you are running on Apple Silicon hardware (M1, M2, etc), ensure you have
201+
> the native arm64 build of these dependencies installed and configured in your PATH.
202+
>
203+
> e.g. running `file $(which python3)` should print "arm64".
204+
>
205+
> If it prints "x86_64", you are running Python in compatibility mode (Rosetta), and building Swift will fail.
206+
> Running `uname -m` should also print "arm64", otherwise your terminal is running in Rosetta mode.
207+
199208
### The roles of different tools
200209

201210
At this point, it is worthwhile to pause for a moment

0 commit comments

Comments
 (0)