在安装Xcode时,会碰到跟OS X操作系统匹配的问题,对照下下面几个表,以免给自己带来编译不过或者奇怪的错误等问题
以下列表来自网络:
Xcode 1.0 - Xcode 2.x (before iOS support)
Version history
Version Runs on versions ofOS X OS X SDK(s)
1.0
OS X Panther(10.3.x) OS X Puma(10.1.x),OS X Jaguar(10.2.x), andOS X Panther(10.3.x)
1.1
1.2
1.5
2.0
OS X Tiger(10.4.x) OS X Jaguar(10.2.x),OS X Panther(10.3.x), andOS X Tiger(10.4.x)
2.1
2.2
2.2.1
2.3
2.4
2.4.1
2.5
OS X Tiger(10.4.x) andOS X Leopard(10.5.x)
Version Runs on versions of OS X OS X SDK(s)
Xcode 3.0 - Xcode 4.x
Version history
Version minOS Xto run OS X SDK(s) iOS SDK(s) included Min iOS Deployment Target
3.0
10.5.x OS X Panther(10.3.x),OS X Tiger(10.4.x), andOS X Leopard(10.5.x) iOS 2.x + each down toiOS 2.0 iOS 2.0
3.1
3.1.1
3.1.2
3.1.3
10.5.7 iOS 3.1.3 (7E18) or lower+ each down toiOS 2.0
3.1.4
3.2
10.6.0
OS X
Tiger(10.4.x),
OS X Leopard(10.5.x), andOS X Snow Leopard(10.6.x)
3.2.1
3.2.2
10.6.2 iOS 3.2 (7B367) + each down to iOS 3.0 iOS 3.0
3.2.3
10.6.4 iOS 4.0.x+iOS 3.2
3.2.4
iOS 4.1 +iOS 3.2
3.2.5
iOS 4.2 (8C134)
3.2.6
10.6.6 iOS 4.3 (8F190)
4.0
OS X
Snow
Leopard
(10.6.x)
4.0.1
4.0.2
iOS 4.3.2 (8H7)
4.1
10.6.7and 10.7
OS X Snow
Leopard
(10.6.x) and
OS X
Lion
(10.7.x)
4.1.1
4.2
iOS 5.0 (9A334)
4.2.1
10.7
4.3
10.7.3
4.3.1
iOS 5.1 (9B176)
4.3.2
4.3.3
4.4
10.7.4
OS X Lion(10.7.x)
andOS X
Mountain
Lion(10.8.x)
4.4.1
4.5
iOS 6.0 (10A403) iOS4.3
4.5.1
4.5.2
4.6
iOS 6.1 (10B141)
4.6.1
4.6.2
4.6.3
Version minOS Xto run OS X SDK(s) iOS SDK(s) included Min iOS Deployment Target
Xcode 5.0 - 6.x (since arm64 support)
Version history
Version minOS Xto run OS X SDK(s) iOS SDK(s) included downloadable iOS Simulators
5.0
10.8.4 OS X v10.8 iOS 7.0 (11A465) iOS 6.1 + iOS 6.0 + only for OS X 10.8:iOS 5.1 + iOS 5.0
5.0.1
OS X v10.8+OS X v10.9 iOS 7.0.3 (11B508)
5.0.2
5.1
iOS 7.1 (11D167) iOS 7.0 + iOS 6.1
5.1.1
iOS 6.1
6.0.1
10.9.4 OS X v10.9 iOS 8.0 (12A365) iOS 7.1 + only for OS X 10.9iOS 7.0
6.1
OS X v10.9+OS X v10.10 iOS 8.1 (12B411)
6.1.1
6.2
iOS 8.2 (12D508) iOS 8.1 + iOS 7.1
6.3
10.10 OS X v10.10 iOS 8.3 (12F69) iOS 8.2 + iOS 8.1 + iOS 7.1
6.3.1
6.3.2
6.4
iOS 8.4 (12H141) iOS 8.3 + iOS 8.2 + iOS 8.1 + iOS 7.1
Version minOS Xto run OS X SDK(s) iOS SDK(s) included downloadable iOS Simulators
Xcode 7.0 - 7.x (since Swift 2.0 support)
Version history
Version minOS Xto run OS X SDK(s) iOS SDK(s) included other SDK(s) included downloadable iOS Simulators
7.0
10.10.4 OS X v10.11 iOS 9(13A340) watchOS2 iOS 8.4 + iOS 8.3 + iOS 8.2 + iOS 8.1
7.1 beta 2
iOS 9.1 beta (13B5119e) watchOS2;tvOSbeta
Version minOS Xto run OS X SDK(s) iOS SDK(s) included other SDK(s) included downloadable iOS Simulators
Mac OS系统版本与XCode版本的关系
以下地址都已不能下载了,放在这里主要为了研究 Max OS与XCode版本的对应关系。
如果想下载Xcode,可以在苹果网站上注册一个开发者帐号,只注册这个帐号是免费的。就可以从这里下载:
http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/downloads
要有帐号哦,登录后,点击右侧Downloads--》Developer Tools 进入列表,可以找到多个版本的下载。
最新版本,在最后面,可以直接看文章最后面。
iPhone SDK 2.2.1 Leopard (10.5.4)
http://developer.apple.com/iphone/download.action?path=/iphone/iphone_sdk_for_iphone_os_2.2.1__9m2621a__final/iphone_sdk_for_iphone_os_2.2.19m2621afinal.dmg
iPhone SDK 3.0 (Xcode 3.1.3) Leopard (10.5.7)
http://developer.apple.com/iphone/download.action?path=/iphone/iphone_sdk_3.0__final/iphone_sdk_3.0__leopard__9m2736__final.dmg
iPhone SDK 3.0 (Xcode 3.2) Snow Leopard (10.6.0)
http://developer.apple.com/iphone/download.action?path=/iphone/iphone_sdk_3.0__final/iphone_sdk_3.0__snow_leopard__final.dmg
iPhone SDK 3.1 with Xcode 3.1.4 Leopard (10.5.7)
http://developer.apple.com/iphone/download.action?path=/iphone/iphone_sdk_3.1__final/iphone_sdk_3.1_with_xcode_3.1_final__leopard__9m2809.dmg
iPhone SDK 3.1 with XCode 3.2.1 for Snow Leopard (10.6.0)
http://developer.apple.com/iphone/download.action?path=/iphone/iphone_sdk_3.1__final/iphone_sdk_3.1_with_xcode_3.2_final__snow_leopard__10a432.dmg
iPhone SDK 3.1.2 with XCode 3.1.4 for Leopard (10.5.7)
http://developer.apple.com/iphone/download.action?path=/iphone/iphone_sdk_3.1.2__final/iphone_sdk_3.1.2_with_xcode_3.1.4__leopard__9m2809.dmg
iPhone SDK 3.1.2 with XCode 3.2.1 for Snow Leopard (10.6.0)
http://developer.apple.com/iphone/download.action?path=/iphone/iphone_sdk_3.1.2__final/iphone_sdk_3.1.2_with_xcode_3.2.1__snow_leopard__10m2003.dmg
iPhone SDK 3.1.3 with XCode 3.1.4 for Leopard (10.5.7)
http://developer.apple.com/ios/download.action?path=/iphone/iphone_sdk_3.1.3__final/iphone_sdk_3.1.3_with_xcode_3.1.4__leopard__9m2809a.dmg
iPhone SDK 3.1.3 with XCode 3.2.1 for Snow Leopard (10.6.0)
http://developer.apple.com/ios/download.action?path=/iphone/iphone_sdk_3.1.3__final/iphone_sdk_3.1.3_with_xcode_3.2.1__snow_leopard__10m2003a.dmg
iPhone SDK 3.2 Final with Xcode 3.2.2 for Snow Leopard (10.6.0)
http://developer.apple.com/ios/download.action?path=/iphone/iphone_sdk_3.2__final/xcode_3.2.2_and_iphone_sdk_3.2_final.dmg
Xcode 3.2.3 and iPhone SDK 4 GM seed for Snow Leopard (10.6.2)
http://developer.apple.com/ios/download.action?path=/iphone/iphone_sdk_4_gm_seed/xcode_3.2.3_and_iphone_sdk_4_gm_seed.dmg
Xcode 3.2.3 and iPhone SDK 4 Final for Snow Leopard (10.6.2)
http://developer.apple.com/ios/download.action?path=/iphone/iphone_sdk_4__final/xcode_3.2.3_and_iphone_sdk_4__final.dmg
Xcode 3.2.3 and iOS SDK 4.0.1 for Snow Leopard (10.6.4)
http://developer.apple.com/ios/download.action?path=/ios/ios_sdk_4.0.1__final/xcode_3.2.3_and_ios_sdk_4.0.1.dmg
Xcode 3.2.3 and iOS SDK 4.0.2 for Snow Leopard (10.6.4)
http://developer.apple.com/ios/download.action?path=/ios/ios_sdk_4.0.2__final/xcode_3.2.3_and_ios_sdk_4.0.2.dmg
Xcode 3.2.4 and iOS SDK 4.1 for Snow Leopard (10.6.4)
http://developer.apple.com/ios/download.action?path=/ios/ios_sdk_4.1__final/xcode_3.2.4_and_ios_sdk_4.1.dmg
Xcode 3.2.5 and iOS SDK 4.2 GM for Snow Leopard (10.6.4)
http://developer.apple.com/ios/download.action?path=/ios/ios_sdk_4.2_gm_seed/xcode_3.2.5_and_ios_sdk_4.2_gm_seed.dmg
Xcode 3.2.5 and iOS SDK 4.2 for Snow Leopard (10.6.4)
http://developer.apple.com/ios/download.action?path=/ios/ios_sdk_4.2__final/xcode_3.2.5_and_ios_sdk_4.2_final.dmg
Xcode 3.2.6 and iOS SDK 4.3 GM Seed for Snow Leopard (10.6.6)
http://developer.apple.com/devcenter/download.action?path=/ios/ios_sdk_4.3_gm_seed/xcode_3.2.6_and_ios_sdk_4.3_gm_seed.dmg
Xcode 3.2.6 and iOS SDK 4.3 for Snow Leopard (10.6.6)
http://adcdownload.apple.com/Developer_Tools/xcode_3.2.6_and_ios_sdk_4.3__final/xcode_3.2.6_and_ios_sdk_4.3__final.dmg
Xcode 3.2.6 and iOS SDK 4.3.1 for Snow Leopard (10.6.6)
http://adcdownload.apple.com/Developer_Tools/xcode_3.2.6_and_ios_sdk_4.3__final/xcode_3.2.6_and_ios_sdk_4.3.dmg
Xcode 4 and iOS SDK 4.3 for Snow Leopard (10.6.6)
http://developer.apple.com/devcenter/download.action?path=/Developer_Tools/xcode_4_and_ios_sdk_4.3__final/xcode_4_and_ios_sdk_4.3__final.dmg
Xcode 4.0.1 and iOS SDK 4.3.1 for Snow Leopard (10.6.6)
http://developer.apple.com/devcenter/download.action?path=/Developer_Tools/xcode_4.0.1_and_ios_sdk_4.3/xcode_4.0.1_and_ios_sdk_4.3.dmg
Xcode 4.0.2 and iOS SDK 4.3.2 for Snow Leopard (10.6.6)
http://developer.apple.com/devcenter/download.action?path=/Developer_Tools/xcode_4.0.2_and_ios_sdk_4.3/xcode_4.0.2_and_ios_sdk_4.3.dmg
Xcode 4.1 SDK5.0 for Snow Leopard (10.6.7)
Xcode 4.1 SDK5.0 for Lion (10.7)
Xcode 4.1.1 SDK5.0 for Lion (10.7)
Xcode 4.2 and iOS SDK 5.0 for Snow Leopard (10.6.7)
https://developer.apple.com/devcenter/download.action?path=/Developer_Tools/xcode_4.2_with_ios_5_sdk/xcode_4.2_and_ios_5_sdk_for_snow_leopard.dmg
Xcode 4.2 and iOS SDK 5.0 for Lion (10.7)
http://developer.apple.com/devcenter/download.action?path=/Developer_Tools/xcode_4.2_with_ios_5_sdk/xcode_4.2_and_ios_5_sdk_for_lion.dmg
Xcode 4.2.1 and iOS SDK 5.0 for Lion (10.7)