Skip to main content This browser is no longer supported. Show 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?
In this articleCurrent versionThe current version of Xcode can be accessed either through the App store, or the Xcode downloads page. Older versionsOlder versions of Xcode can be found by logging into the Apple Developer Downloads page and searching for the version of Xcode you need.
如果你要開發 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 這裡可以搜尋到各個版本的下載位置, 從這裡可以下載到 因為這個解壓縮後的檔案名稱都叫做 Xcode,通常這時候我會重新命名這個 Xcode 應用程式,在檔名上加上版本號,再把它拖拉進 只是這個網站的搜尋介面差強人意,有些眼尖的人可能會發現,他下載檔案的連結其實相當很容易預測,像是下面這樣:
連結就是 下載連結這裡條列了 Xcode 開放 SwiftUI 框架之後,到目前為止的下載清單,方便直接下載。請注意,下載前請先登入 Apple Developer 才能順利下載。
參考資料:
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
Xcode 13
Xcode 12
Xcode 11
Xcode 10 (unsupported for iTunes Connect)
Xcode 9
Xcode 8
Xcode 7
Xcode 6
Even Older Versions (unsupported for iTunes Connect)
Note. Use |