Skip to content

Commit d6dc606

Browse files
authored
Clarify that .pkg installer is required for cross-compilation (#879)
When cross-compiling on macOS to non-Darwin platforms (Linux or Embedded Swift), `.pkg` installer is required, as it provides necessary tools and has more LLVM backends enabled.
1 parent 3639d53 commit d6dc606

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/macos/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ title: Install Swift
1111
<li class="grid-level-1">
1212
<h3>Xcode</h3>
1313
<p class="description">
14-
Download the latest version of Xcode, which is regularly refreshed with the latest Swift toolchain.
14+
For targeting Darwin platforms, download the latest version of Xcode, which is regularly refreshed with the latest Swift toolchain.
1515
</p>
1616
<a href="https://developer.apple.com/xcode/" class="cta-secondary external">Install Xcode</a>
1717
</li>
1818
<li class="grid-level-1">
1919
<h3>Package Installer</h3>
2020
<p class="description">
21-
Toolchain package installer (.pkg)
21+
For cross-compilation to non-Darwin platforms and Embedded Swift, download the toolchain package installer (.pkg)
2222
</p>
2323
<a href="https://download.swift.org/{{ site.data.builds.swift_releases.last.tag | downcase }}/xcode/{{ site.data.builds.swift_releases.last.tag }}/{{ site.data.builds.swift_releases.last.tag }}-osx.pkg" class="cta-secondary">Download Toolchain</a>
2424
<a href="/install/macos/package_installer" class="cta-secondary">Instructions</a>

0 commit comments

Comments
 (0)