Skip to content

Commit 47c5a9c

Browse files
Use 'current version' instead of specific Xcode version (#495)
* Use 'current version' instead of specific Xcode version The Xcode version is read from the last entry of swift_releases.yml. Multiple Xcode versions can ship with the same Swift version, so the Xcode version displayed can be out of date. The exact Xcode version is not very important to display on the page. So, instead of creating and maintaining an Xcode version data file, the text changes to say 'current version'. Since the user will clicking through to the Mac App Store, they will see the correct version number on the app page in the store. This fixes #493.
1 parent 903adb1 commit 47c5a9c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

install/macos/_macos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<li class="resource featured">
55
<h3>Xcode</h3>
66
<p class="description">
7-
Download {{ site.data.builds.swift_releases.last.xcode }} which contains the latest Swift release.
7+
Download the current version of Xcode which contains the latest Swift release.
88
</p>
99
<a href="https://itunes.apple.com/app/xcode/id497799835" class="cta-secondary">Download Xcode</a>
1010
</li>

install/macos/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: macOS Installation Options
77

88
## Installation via Xcode
99

10-
Download [{{ site.data.builds.swift_releases.last.xcode }}](https://itunes.apple.com/app/xcode/id497799835) which contains the latest Swift release.
10+
Download the [current version of Xcode](https://itunes.apple.com/app/xcode/id497799835) which contains the latest Swift release.
1111

1212
## Installation via Swift.org package installer
1313

0 commit comments

Comments
 (0)