Xcode 13.1下载

Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

How can I download a previous version of Xcode?

  • Article
  • 07/14/2022
  • 2 minutes to read

In this article

Current version

The current version of Xcode can be accessed either through the App store, or the Xcode downloads page.

Older versions

Older versions of Xcode can be found by logging into the Apple Developer Downloads page and searching for the version of Xcode you need.

  • Xamarin System Requirements

如果你要開發 Apple 的應用程式,不管是 iOS 還是 MacOS,開發久了你多少都會碰到 Xcode 版本的問題,因為在 iOS 或 MacOS 上執行的 App,有時必須要搭配特定以上版本的 Xcode 才有辦法建置成功,因此如何在自己的開發機器上,保留多個 Xcode 版本,變成是 Apple 開發者必須要學會的一件事。這問題,就從下載 Xcode 開始。

千萬不要用 App Store 安裝/更新 Xcode

如果你曾經使用 Mac App Store 來下載安裝 Xcode 了話,很不幸的,你一定會滿口抱怨。

透過 Mac App Store 來安裝或更新 Xcode 時,非常容易失敗,且會花非常久的時間,況且這個方法只能保留 1 個版本的 Xcode,所以千萬不要使用這個方法來管理 Xcode。

直接從 Apple Developer 網站下載

Apple Developer 網站上有下載各個 Xcode 版本的連結,登入開發者帳號之後,可以從 https://developer.apple.com/downloads/more 這裡可以搜尋到各個版本的下載位置,

從這裡可以下載到 .xip 壓縮檔版本的 Xcode,你只需要滑鼠點兩下,透過封存工具程式解壓縮即可得到 Xocde 應用程式。

因為這個解壓縮後的檔案名稱都叫做 Xcode,通常這時候我會重新命名這個 Xcode 應用程式,在檔名上加上版本號,再把它拖拉進應用程式資料夾中,方便識別是哪個版本的 Xcode。

只是這個網站的搜尋介面差強人意,有些眼尖的人可能會發現,他下載檔案的連結其實相當很容易預測,像是下面這樣:

Xcode 13
https://download.developer.apple.com/Developer_Tools/Xcode_13/Xcode_13.xip

Xcode 12.5.1
https://download.developer.apple.com/Developer_Tools/Xcode_12.5.1/Xcode_12.5.1.xip

連結就是 Xcode_版本號,因此,如果你知道你要下載的版本號,可以直接打網址來下載,不過還是要先登入 Apple Developer 網站才能下載。

下載連結

這裡條列了 Xcode 開放 SwiftUI 框架之後,到目前為止的下載清單,方便直接下載。請注意,下載前請先登入 Apple Developer 才能順利下載。

  • Xcode 11
  • Xcode 11.1
  • Xcode 11.2
  • Xcode 11.2.1
  • Xcode 11.3
  • Xcode 11.3.1
  • Xcode 11.4
  • Xcode 11.4.1
  • Xcode 11.5
  • Xcode 11.6
  • Xcode 11.7
  • Xcode 12
  • Xcode 12.0.1
  • Xcode 12.1
  • Xcode 12.2
  • Xcode 12.3
  • Xcode 12.4
  • Xcode 12.5
  • Xcode 12.5.1
  • Xcode 13

參考資料:

  • 如何管理 Xcode 版本才不會害到自己跟團隊

You have to login before downloading anything below.

You can find all Xcode dmg/xip files directly on https://developer.apple.com/download/more/ (requires Apple ID).

To list XCode only: https://developer.apple.com/download/all/?q=xcode

In the list below, the newest are on top. For each minor version (6.3, 5.1, etc.) only the latest revision is kept in the list.

Xcode 14

  • 14.1
  • 14.0.1
  • 14.0    

Xcode 13

  • 13.4.1

  • 13.3.1 (Requires macOS 12.0 or later)

  • 13.2.1

  • 13.1

  • 13.0

Xcode 12

  • 12.5.1 (requires a Mac with Apple silicon running macOS Big Sur 11 or later, or an Intel-based Mac running macOS Big Sur 11 or later) (Latest as of 22-Jun-2021)

  • 12.4 (requires a Mac with Apple silicon running macOS Big Sur 11 or later, or an Intel-based Mac running macOS Catalina 10.15.4 or later)

  • 12.3 (requires a Mac with Apple silicon running macOS Big Sur 11 or later, or an Intel-based Mac running macOS Catalina 10.15.4 or later)

  • 12.2

  • 12.1

  • 12.0.1 (Requires macOS 10.15.4 or later) (Latest as of 24-Sept-2020)

Xcode 11

  • 11.7 (Latest as of Sept 02 2020)

  • 11.6

  • 11.5

  • 11.4.1 (Requires macOS 10.15.2 or later)

  • 11.3.1

  • 11.2.1

  • 11.1

  • 11 (Requires macOS 10.14.4 or later)

Xcode 10 (unsupported for iTunes Connect)

  • 10.3 (Requires macOS 10.14.3 or later)
  • 10.2.1 (Requires macOS 10.14.3 or later)
  • 10.1 (Last version supporting macOS 10.13.6 High Sierra)
  • 10 (Subsequent versions were unsupported for iTunes Connect from March 2019)

Xcode 9

  • 9.4.1
  • 9.3.1
  • 9.2 (Last version supporting macOS 10.12.6 Sierra)
  • 9.1
  • 9.0.1

Xcode 8

  • 8.3.3
  • 8.2.1 (Last version supporting OS X 10.11.5 El Capitan)
  • 8.1
  • 8.0

Xcode 7

  • 7.3.1
  • 7.2.1 (Last version supporting OS X 10.10 Yosemite)
  • 7.1.1
  • 7.0.1

Xcode 6

  • 6.4
  • 6.3.2
  • 6.2 (Last version supporting OS X 10.9.5 Mavericks)
  • 6.1.1
  • 6.0.1

Even Older Versions (unsupported for iTunes Connect)

  • 5.1.1 (Latest version supporting OS X 10.8 Mountain Lion)
  • 5.0.2
  • 4.6.3
  • 4.5.2
  • 4.4.1
  • 4.3.2
  • 4.2
  • 4.1
  • 4.0.2
  • 3.2.6
  • 3.1.4
  • 3.0
  • 2.5
  • 2.4.1
  • 2.3
  • 2.2.1
  • 1.5
  • 1.0

Note. Use xip -x <xip> to bypass verification step when unzipping.