xcode-install-citrus 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. checksums.yaml +7 -0
  2. data/.circleci/config.yml +33 -0
  3. data/.gitattributes +1 -0
  4. data/.gitignore +16 -0
  5. data/.rubocop.yml +21 -0
  6. data/.rubocop_todo.yml +78 -0
  7. data/Gemfile +12 -0
  8. data/LICENSE +22 -0
  9. data/README.md +198 -0
  10. data/Rakefile +16 -0
  11. data/bin/xcversion +12 -0
  12. data/bin//360/237/216/211 +3 -0
  13. data/lib/xcode/install.rb +761 -0
  14. data/lib/xcode/install/cleanup.rb +14 -0
  15. data/lib/xcode/install/cli.rb +30 -0
  16. data/lib/xcode/install/command.rb +32 -0
  17. data/lib/xcode/install/install.rb +55 -0
  18. data/lib/xcode/install/installed.rb +24 -0
  19. data/lib/xcode/install/list.rb +17 -0
  20. data/lib/xcode/install/select.rb +36 -0
  21. data/lib/xcode/install/selected.rb +12 -0
  22. data/lib/xcode/install/simulators.rb +65 -0
  23. data/lib/xcode/install/uninstall.rb +36 -0
  24. data/lib/xcode/install/update.rb +14 -0
  25. data/lib/xcode/install/version.rb +3 -0
  26. data/spec/cli_spec.rb +16 -0
  27. data/spec/curl_spec.rb +26 -0
  28. data/spec/fixtures/devcenter/xcode-20150414.html +263 -0
  29. data/spec/fixtures/devcenter/xcode-20150427.html +263 -0
  30. data/spec/fixtures/devcenter/xcode-20150508.html +279 -0
  31. data/spec/fixtures/devcenter/xcode-20150601.html +212 -0
  32. data/spec/fixtures/devcenter/xcode-20150608.html +315 -0
  33. data/spec/fixtures/devcenter/xcode-20150624.html +318 -0
  34. data/spec/fixtures/devcenter/xcode-20150909.html +309 -0
  35. data/spec/fixtures/devcenter/xcode-20160601.html +1872 -0
  36. data/spec/fixtures/devcenter/xcode-20160705-alt.html +317 -0
  37. data/spec/fixtures/devcenter/xcode-20160705.html +1909 -0
  38. data/spec/fixtures/devcenter/xcode-20160922.html +878 -0
  39. data/spec/fixtures/devcenter/xcode-20161024.html +663 -0
  40. data/spec/fixtures/hdiutil.plist +31 -0
  41. data/spec/fixtures/mail-verify.html +222 -0
  42. data/spec/fixtures/not_registered_as_developer.json +11 -0
  43. data/spec/fixtures/xcode.json +1 -0
  44. data/spec/fixtures/xcode_63.json +46 -0
  45. data/spec/fixtures/yolo.json +1 -0
  46. data/spec/install_spec.rb +62 -0
  47. data/spec/installed_spec.rb +19 -0
  48. data/spec/installer_spec.rb +101 -0
  49. data/spec/json_spec.rb +32 -0
  50. data/spec/list_spec.rb +57 -0
  51. data/spec/prerelease_spec.rb +108 -0
  52. data/spec/spec_helper.rb +16 -0
  53. data/spec/uninstall_spec.rb +12 -0
  54. data/xcode-install.gemspec +32 -0
  55. metadata +195 -0
@@ -0,0 +1,263 @@
1
+ <!DOCTYPE html>
2
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3
+ <head>
4
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5
+ <meta name="Author" content="Apple Inc." />
6
+ <meta name="viewport" content="width=1024" />
7
+ <link rel="shortcut icon" href="/favicon.ico" />
8
+ <link rel="icon" href="/favicon.ico" />
9
+ <link rel="stylesheet" href="https://www.apple.com/wss/fonts?family=Myriad+Set+Pro&v=1" type="text/css" />
10
+ <link rel="stylesheet" href="/assets/core/styles/base.css" type="text/css" />
11
+ <link rel="stylesheet" href="https://devimages.apple.com.edgekey.net/assets/core/styles/adc.css" type="text/css" />
12
+ <link rel="stylesheet" href="/assets/core/styles/templates.css" type="text/css" />
13
+ <link rel="stylesheet" href="https://devimages.apple.com.edgekey.net/assets/styles/topbar.css" type="text/css" />
14
+ <script src="https://devimages.apple.com.edgekey.net/assets/core/scripts/lib/prototype.js" type="text/javascript" charset="utf-8"></script>
15
+ <script src="https://devimages.apple.com.edgekey.net/assets/core/scripts/lib/scriptaculous.js" type="text/javascript" charset="utf-8"></script>
16
+ <script src="https://devimages.apple.com.edgekey.net/assets/core/scripts/browserdetect.js" type="text/javascript" charset="utf-8"></script>
17
+ <script src="https://devimages.apple.com.edgekey.net/assets/core/scripts/apple_core.js" type="text/javascript" charset="utf-8"></script>
18
+ <script src="https://devimages.apple.com.edgekey.net/assets/core/scripts/search_decorator.js" type="text/javascript" charset="utf-8"></script>
19
+ <script src="https://devimages.apple.com.edgekey.net/assets/core/scripts/adc_core.js" type="text/javascript" charset="utf-8"></script>
20
+ <script src="https://devimages.apple.com.edgekey.net/assets/scripts/ac_retina.js" type="text/javascript" charset="utf-8"></script>
21
+ <script src="https://devimages.apple.com.edgekey.net/assets/scripts/topbarDropdown.js" type="text/javascript" charset="utf-8"></script>
22
+ <script type="text/javascript">
23
+ document.write('<link rel="stylesheet" type="text/css" href="https://devimages.apple.com.edgekey.net/assets/styles/script.css" media="screen">');
24
+ </script>
25
+ <!-- Augmented Search -->
26
+ <link rel="stylesheet" href="https://devimages.apple.com.edgekey.net/assets/styles/augmented_search.css" type="text/css">
27
+ <script src="https://devimages.apple.com.edgekey.net/assets/scripts/lib/jquery/jquery-1.11.0.min.js"></script>
28
+ <script>jQuery.noConflict();</script>
29
+ <script src="https://devimages.apple.com.edgekey.net/assets/scripts/augmented_search.js"></script>
30
+ <title>Xcode - Downloads - Apple Developer</title>
31
+ <meta name="omni_page" content="Xcode Downloads and Resources - (English)">
32
+ <meta name="Description" content="Xcode includes the Xcode IDE, Instruments, iOS Simulator, the latest OS X and iOS SDKs, and more. Download Xcode and start creating apps for iOS and OS X.">
33
+ <link rel="stylesheet" href="/xcode/styles/xcode-tabs.css" type="text/css" />
34
+ <meta name="robots" content="noodp,noydir" />
35
+ <link rel="alternate" href="https://developer.apple.com/kr/xcode/downloads/" hreflang="ko-KR" />
36
+ <link rel="alternate" href="https://developer.apple.com/jp/xcode/downloads/" hreflang="ja-JP" />
37
+ <link rel="alternate" href="https://developer.apple.com/cn/xcode/downloads/" hreflang="zh-CN" />
38
+ <link rel="alternate" href="https://developer.apple.com/xcode/downloads/" hreflang="en" />
39
+ </head>
40
+ <body id="downloads" class="white">
41
+ <div id="globalheader-wrapper">
42
+ <nav id="globalheader" data-hires="true">
43
+
44
+ <h1 data-hires="true"><a href="/">Apple Developer</a></h1>
45
+ <ul id="gh-nav">
46
+ <li id="gh-nav-technologies"><a href="/technologies/">Technologies</a></li>
47
+ <li id="gh-nav-resources"><a href="/resources/">Resources</a></li>
48
+ <li id="gh-nav-programs"><a href="/programs/">Programs</a></li>
49
+ <li id="gh-nav-support"><a href="/support/">Support</a></li>
50
+ <li id="gh-nav-membercenter"><a href="/membercenter/">Member Center</a></li>
51
+ </ul>
52
+
53
+ <div id="gh-search" data-hires="true">
54
+ <form action="/search/index.php" method="get" accept-charset="utf-8"><div>
55
+ <label for="gh-adcsearch">
56
+ <span class="prettyplaceholder"></span>
57
+ <input type="text" name="q" id="gh-adcsearch" class="adcsearch prettysearch augmented">
58
+ </label>
59
+ </div></form>
60
+ </div>
61
+
62
+ <script type="text/javascript">
63
+ Event.onDOMReady(function() {
64
+ // Get root path for Global Header Active class
65
+ ghLocation = location.pathname.split('/')[1];
66
+ // Make sure it doesn't try to add a file extension to the css class
67
+ if(ghLocation.include('.')) ghLocation = ghLocation.split('.')[0];
68
+ // Add Global Header Active State Class
69
+ $$('body')[0].addClassName('gh-nav-'+location.pathname.split('/')[1]+'-active');
70
+ });
71
+ </script>
72
+ </nav>
73
+ </div>
74
+
75
+ <div id="top">
76
+ <!-- SiteCatalyst code version: H.8. Copyright 1997-2006 Omniture, Inc. -->
77
+ <script type="text/javascript">
78
+ /* RSID: */
79
+ var s_account="appleglobal,appleusdeveloper"
80
+ </script>
81
+
82
+ <script type="text/javascript" src="https://www.apple.com/metrics/scripts/s_code_h.js"></script>
83
+ <script type="text/javascript">
84
+ s.pageName=AC.Tracking.pageName();
85
+ s.channel="www.us.developer"
86
+
87
+ /************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
88
+ var s_code=s.t();if(s_code)document.write(s_code)</script>
89
+ <!-- End SiteCatalyst code version: H.8. -->
90
+ </div>
91
+ <div id="content" class="content" data-hires="true">
92
+
93
+ <header>
94
+ <img id="title" src="https://devimages.apple.com.edgekey.net/xcode/images/xcode-hero.png" width="856" height="130" alt="Xcode - the complete toolset for building great apps.">
95
+ </header>
96
+
97
+ <section class="layout-tabs">
98
+ <div class="tab-wrapper">
99
+ <div class="divider"></div>
100
+ <div class="grid4col tabs">
101
+ <div class="column one"><a href="/xcode/">What's New</a></div>
102
+ <div class="column two"><a href="/xcode/ide/">Xcode IDE</a></div>
103
+ <div class="column three"><a href="/xcode/interface-builder/">Interface Builder</a></div>
104
+ <div class="column four"><a href="/xcode/features/">Features</a></div>
105
+ <div class="column five active"><a href="/xcode/downloads/">Downloads</a></div>
106
+ </div>
107
+ </div>
108
+ </section>
109
+
110
+ <div class="maincontent margin-sides-40">
111
+ <section class="first">
112
+ <h2>Download Xcode for Free</h2>
113
+ </section>
114
+
115
+ <section class="download">
116
+ <img class="right padding-bottom-20" src="https://devimages.apple.com.edgekey.net/xcode/images/downloads.png" width="360" height="217" alt="" />
117
+ <h3>Xcode 6.3.1</h3>
118
+ <p class="width-45 margin-bottom-12">This release includes the Xcode IDE, LLVM compiler, Instruments, iOS Simulator, the latest OS X and iOS SDKs, WatchKit and the Swift 1.2 programming language.
119
+ </p>
120
+ <p class="width-45 margin-bottom-12">
121
+ Updated: Apr 21, 2015<br />
122
+ Build: 6D1002<br />
123
+ SDK: iOS 8.3, OS X v10.10
124
+ </p>
125
+ <p class="width-45 margin-bottom-0">
126
+ <a class="arrow arrow-right" href="http://itunes.apple.com/us/app/xcode/id497799835?ls=1&mt=12">View in the Mac App Store</a></p>
127
+ </section>
128
+
129
+ <section class="pre-release divider-top cleared">
130
+ <img class="right padding-right-100" src="https://devimages.apple.com.edgekey.net/assets/elements/icons/128x128/xcode6-beta.png" width="128" height="128" alt="">
131
+ <h3>Xcode 6.4 beta 2</h3>
132
+ <p class="width-45 margin-bottom-12">This is a pre-release version of the complete Xcode developer toolset for Mac, iPhone, iPad, and <span class="nowrap">Apple Watch.</span> This release requires <span class="nowrap">OS X Yosemite.</span>
133
+ </p>
134
+ <p class="width-45 margin-bottom-12">
135
+ Released: Apr 27, 2015<br />
136
+ Build: 6E14<br />
137
+ SDK: iOS 8.4 beta 2, OS X v10.10<br />
138
+ <ul class="links small">
139
+ <li class="dmg"><a href="/devcenter/download.action?path=/Developer_Tools/Xcode_6.4_beta_2/Xcode_6.4_beta_2.dmg">Download Xcode 6.4 beta 2</a></li>
140
+ <li class="document"><a href="/devcenter/download.action?path=/Developer_Tools/Xcode_6.4_beta_2/Xcode_6.4_beta_2_Release_Notes.pdf">Xcode 6.4 beta 2 Release Notes</a></li>
141
+ </ul>
142
+ </p>
143
+ </section>
144
+
145
+
146
+ <section class="related padding-top-40 divider-top">
147
+ <h2>Related Downloads and Resources</h2>
148
+
149
+ <div class="padding-top-30">
150
+ <img class="left" src="https://devimages.apple.com.edgekey.net/assets/elements/icons/64x64/downloads.png" width="64" height="64" alt="">
151
+ <h3>Additional Tools</h3>
152
+ <p>Sign in with your Apple ID to download previous versions of Xcode or additional tools from the developer downloads site. <a class="arrow arrow-right" href="/downloads/">View downloads</a></p>
153
+ </div>
154
+
155
+ <div class="padding-top-20">
156
+ <img class="left" src="https://devimages.apple.com.edgekey.net/assets/elements/icons/64x64/videos.png" width="64" height="64" alt="">
157
+ <h3>Videos</h3>
158
+ <p>Watch and learn from Apple engineers as they show how to bring the best of Apple technologies to your apps. <a class="arrow arrow-right" href="/videos/">Watch videos</a></p>
159
+ </div>
160
+
161
+ <div class="padding-top-20">
162
+ <img class="left" src="https://devimages.apple.com.edgekey.net/assets/elements/icons/64x64/library.png" width="64" height="64" alt="">
163
+ <h3>Guides and Tutorials</h3>
164
+ <p>Find a comprehensive set of programming guides, reference, and sample code for developing with the latest tools and technologies on iOS and OS X.<br /><a class="arrow arrow-right" href="/library/ios/navigation/#section=Topics&topic=Xcode">Read documentation</a></p>
165
+ </div>
166
+
167
+ <div class="padding-top-20">
168
+ <img class="left" src="https://devimages.apple.com.edgekey.net/assets/elements/icons/64x64/forum.png" width="64" height="64" alt="">
169
+ <h3>Forums</h3>
170
+ <p>Post questions and share comments about using Xcode with fellow developers.<br /><a class="arrow arrow-right" href="/devforums/">Join conversations</a></p>
171
+ </div>
172
+ </section>
173
+ </div>
174
+ </div><!-- /content -->
175
+
176
+ <div id="globalfooter">
177
+ <div id="breadory">
178
+ <ol id="breadcrumbs">
179
+ <li class="home"><a href="/">Developer</a></li>
180
+ <li><a href="/xcode/">Xcode</a></li>
181
+ <li>Downloads</li>
182
+ </ol>
183
+ <div id="directorynav" class="ipoditunes">
184
+ <div id="dn-cola" class="column first">
185
+ <h3><a href="/technologies/">What's New</a></h3>
186
+ <ul>
187
+ <li><a href="/ios8/">iOS 8</a></li>
188
+ <li><a href="/osx/whats-new/">OS X Yosemite</a></li>
189
+ <li><a href="/swift/">Swift</a></li>
190
+ <li><a href="/xcode/">Xcode 6</a></li>
191
+ </ul>
192
+ </div><!--/dn-cola-->
193
+ <div id="dn-colb" class="column">
194
+ <h3><a href="/resources/">Resources</a></h3>
195
+ <ul>
196
+ <li><a href="/devcenter/ios/index.action">iOS Dev Center</a></li>
197
+ <li><a href="/devcenter/mac/index.action">Mac Dev Center</a></li>
198
+ <li><a href="/devcenter/safari/index.action">Safari Dev Center</a></li>
199
+ <li><a href="/app-store/">App Store</a></li>
200
+ <li><a href="/iad/">iAd</a></li>
201
+ <li><a href="/icloud/">iCloud</a></li>
202
+ </ul>
203
+ </div><!--/dn-colb-->
204
+ <div id="dn-colc" class="column">
205
+ <h3 class="empty">&nbsp;</h3>
206
+ <ul>
207
+ <li><a href="/devforums/">Forums</a></li>
208
+ <li><a href="/videos/">Videos</a></li>
209
+ <li><a href="/softwarelicensing/">Licensing and Trademarks</a></li>
210
+ <li><a href="/hardwaredrivers/">Hardware and Drivers</a></li>
211
+ <li><a href="/resources/cases/">iPod, iPhone, and iPad Cases</a></li>
212
+ <li><a href="/opensource/">Open Source</a></li>
213
+ </ul>
214
+ </div><!--/dn-colc-->
215
+ <div id="dn-cold" class="column">
216
+ <h3><a href="/programs/">Programs</a></h3>
217
+ <ul>
218
+ <li><a href="/programs/ios/">iOS Developer Program</a></li>
219
+ <li><a href="/programs/ios/enterprise/">iOS Developer Enterprise Program</a></li>
220
+ <li><a href="/programs/ios/university/">iOS Developer University Program</a></li>
221
+ <li><a href="/programs/mac/">Mac Developer Program</a></li>
222
+ <li><a href="/programs/safari/">Safari Developer Program</a></li>
223
+ <li><a href="/programs/mfi/">MFi Program</a></li>
224
+ </ul>
225
+ </div><!--/dn-cold-->
226
+ <div id="dn-cole" class="column last">
227
+ <h3><a href="/support/">Support</a></h3>
228
+ <ul>
229
+ <li><a href="/support/ios/">iOS Developer Program</a></li>
230
+ <li><a href="/support/mac/">Mac Developer Program</a></li>
231
+ <li><a href="/support/safari/">Safari Developer Program</a></li>
232
+ <li><a href="/support/appstore/">App Store</a></li>
233
+ <li><a href="/support/resources/itunes-connect.html">iTunes Connect</a></li>
234
+ <li><a href="/support/technical/">Technical Support</a></li>
235
+ </ul>
236
+ </div><!--/dn-cole-->
237
+ <div class="capbottom"></div>
238
+ </div><!--/directorynav-->
239
+ </div><!--/breadory-->
240
+ <p class="gf-buy">Shop the <a href="http://www.apple.com/store/">Apple Online Store</a> (1-800-MY-APPLE), visit an <a href="http://www.apple.com/retail/">Apple Retail Store</a>, or find a <a href="http://www.apple.com/buy/locator/">reseller</a>.</p>
241
+ <ul class="gf-links piped">
242
+ <li><a href="/news/" class="first">News</a></li>
243
+ <li><a href="/register/">Register</a></li>
244
+ <li><a href="/bug-reporting/">Report Bugs</a></li>
245
+ <li><a href="/contact/">Contact Us</a></li>
246
+ </ul>
247
+ <div class="gf-sosumi">
248
+ <p>Copyright © 2015 Apple Inc. All rights reserved.</p>
249
+ <ul class="piped">
250
+ <li><a href="http://www.apple.com/legal/internet-services/terms/site.html" class="first">Terms of Use</a></li>
251
+ <li><a href="http://www.apple.com/privacy/">Privacy Policy</a></li>
252
+ </ul>
253
+ </div>
254
+ <div id="localization-links">
255
+ <ul>
256
+ <li><a href="/cn/" title="Simplified Chinese">简体中文</a></li>
257
+ <li><a href="/jp/" title="Japanese">日本語</a></li>
258
+ <li><a href="/kr/" title="Korean">한국어</a></li>
259
+ </ul>
260
+ </div>
261
+ </div><!--/globalfooter-->
262
+ </body>
263
+ </html>
@@ -0,0 +1,279 @@
1
+ <!DOCTYPE html>
2
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3
+ <head>
4
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5
+ <meta name="Author" content="Apple Inc." />
6
+ <meta name="viewport" content="width=1024" />
7
+ <link rel="shortcut icon" href="/favicon.ico" />
8
+ <link rel="icon" href="/favicon.ico" />
9
+ <link rel="stylesheet" href="https://www.apple.com/wss/fonts?family=Myriad+Set+Pro&v=1" type="text/css" />
10
+ <link rel="stylesheet" href="/assets/core/styles/base.css" type="text/css" />
11
+ <link rel="stylesheet" href="https://devimages.apple.com.edgekey.net/assets/core/styles/adc.css" type="text/css" />
12
+ <link rel="stylesheet" href="/assets/core/styles/templates.css" type="text/css" />
13
+ <link rel="stylesheet" href="https://devimages.apple.com.edgekey.net/assets/styles/topbar.css" type="text/css" />
14
+ <script src="https://devimages.apple.com.edgekey.net/assets/core/scripts/lib/prototype.js" type="text/javascript" charset="utf-8"></script>
15
+ <script src="https://devimages.apple.com.edgekey.net/assets/core/scripts/lib/scriptaculous.js" type="text/javascript" charset="utf-8"></script>
16
+ <script src="https://devimages.apple.com.edgekey.net/assets/core/scripts/browserdetect.js" type="text/javascript" charset="utf-8"></script>
17
+ <script src="https://devimages.apple.com.edgekey.net/assets/core/scripts/apple_core.js" type="text/javascript" charset="utf-8"></script>
18
+ <script src="https://devimages.apple.com.edgekey.net/assets/core/scripts/search_decorator.js" type="text/javascript" charset="utf-8"></script>
19
+ <script src="https://devimages.apple.com.edgekey.net/assets/core/scripts/adc_core.js" type="text/javascript" charset="utf-8"></script>
20
+ <script src="https://devimages.apple.com.edgekey.net/assets/scripts/ac_retina.js" type="text/javascript" charset="utf-8"></script>
21
+ <script src="https://devimages.apple.com.edgekey.net/assets/scripts/topbarDropdown.js" type="text/javascript" charset="utf-8"></script>
22
+ <script type="text/javascript">
23
+ document.write('<link rel="stylesheet" type="text/css" href="https://devimages.apple.com.edgekey.net/assets/styles/script.css" media="screen">');
24
+ </script>
25
+ <!-- Augmented Search -->
26
+ <link rel="stylesheet" href="https://devimages.apple.com.edgekey.net/assets/styles/augmented_search.css" type="text/css">
27
+ <script src="https://devimages.apple.com.edgekey.net/assets/scripts/lib/jquery/jquery-1.11.0.min.js"></script>
28
+ <script>jQuery.noConflict();</script>
29
+ <script src="https://devimages.apple.com.edgekey.net/assets/scripts/augmented_search.js"></script>
30
+ <title>Xcode - Downloads - Apple Developer</title>
31
+ <meta name="omni_page" content="Xcode Downloads and Resources - (English)">
32
+ <meta name="Description" content="Xcode includes the Xcode IDE, Instruments, iOS Simulator, the latest OS X and iOS SDKs, and more. Download Xcode and start creating apps for iOS and OS X.">
33
+ <link rel="stylesheet" href="/xcode/styles/xcode-tabs.css" type="text/css" />
34
+ <meta name="robots" content="noodp,noydir" />
35
+ <link rel="alternate" href="https://developer.apple.com/kr/xcode/downloads/" hreflang="ko-KR" />
36
+ <link rel="alternate" href="https://developer.apple.com/jp/xcode/downloads/" hreflang="ja-JP" />
37
+ <link rel="alternate" href="https://developer.apple.com/cn/xcode/downloads/" hreflang="zh-CN" />
38
+ <link rel="alternate" href="https://developer.apple.com/xcode/downloads/" hreflang="en" />
39
+ </head>
40
+ <body id="downloads" class="white">
41
+ <div id="globalheader-wrapper">
42
+ <nav id="globalheader" data-hires="true">
43
+
44
+ <h1 data-hires="true"><a href="/">Apple Developer</a></h1>
45
+ <ul id="gh-nav">
46
+ <li id="gh-nav-technologies"><a href="/technologies/">Technologies</a></li>
47
+ <li id="gh-nav-resources"><a href="/resources/">Resources</a></li>
48
+ <li id="gh-nav-programs"><a href="/programs/">Programs</a></li>
49
+ <li id="gh-nav-support"><a href="/support/">Support</a></li>
50
+ <li id="gh-nav-membercenter"><a href="/membercenter/">Member Center</a></li>
51
+ </ul>
52
+
53
+ <div id="gh-search" data-hires="true">
54
+ <form action="/search/index.php" method="get" accept-charset="utf-8"><div>
55
+ <label for="gh-adcsearch">
56
+ <span class="prettyplaceholder"></span>
57
+ <input type="text" name="q" id="gh-adcsearch" class="adcsearch prettysearch augmented">
58
+ </label>
59
+ </div></form>
60
+ </div>
61
+
62
+ <script type="text/javascript">
63
+ Event.onDOMReady(function() {
64
+ // Get root path for Global Header Active class
65
+ ghLocation = location.pathname.split('/')[1];
66
+ // Make sure it doesn't try to add a file extension to the css class
67
+ if(ghLocation.include('.')) ghLocation = ghLocation.split('.')[0];
68
+ // Add Global Header Active State Class
69
+ $$('body')[0].addClassName('gh-nav-'+location.pathname.split('/')[1]+'-active');
70
+ });
71
+ </script>
72
+ </nav>
73
+ </div>
74
+
75
+ <div id="top">
76
+ <!-- SiteCatalyst code version: H.8. Copyright 1997-2006 Omniture, Inc. -->
77
+ <script type="text/javascript">
78
+ /* RSID: */
79
+ var s_account="appleglobal,appleusdeveloper"
80
+ </script>
81
+
82
+ <script type="text/javascript" src="https://www.apple.com/metrics/scripts/s_code_h.js"></script>
83
+ <script type="text/javascript">
84
+ s.pageName=AC.Tracking.pageName();
85
+ s.channel="www.us.developer"
86
+
87
+ /************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
88
+ var s_code=s.t();if(s_code)document.write(s_code)</script>
89
+ <!-- End SiteCatalyst code version: H.8. -->
90
+ </div>
91
+ <div id="content" class="content" data-hires="true">
92
+
93
+ <header>
94
+ <img id="title" src="https://devimages.apple.com.edgekey.net/xcode/images/xcode-hero.png" width="856" height="130" alt="Xcode - the complete toolset for building great apps.">
95
+ </header>
96
+
97
+ <section class="layout-tabs">
98
+ <div class="tab-wrapper">
99
+ <div class="divider"></div>
100
+ <div class="grid4col tabs">
101
+ <div class="column one"><a href="/xcode/">What's New</a></div>
102
+ <div class="column two"><a href="/xcode/ide/">Xcode IDE</a></div>
103
+ <div class="column three"><a href="/xcode/interface-builder/">Interface Builder</a></div>
104
+ <div class="column four"><a href="/xcode/features/">Features</a></div>
105
+ <div class="column five active"><a href="/xcode/downloads/">Downloads</a></div>
106
+ </div>
107
+ </div>
108
+ </section>
109
+
110
+ <div class="maincontent margin-sides-40">
111
+ <section class="first">
112
+ <h2>Download Xcode for Free</h2>
113
+ </section>
114
+
115
+ <section class="download">
116
+ <img class="right padding-bottom-20" src="https://devimages.apple.com.edgekey.net/xcode/images/downloads.png" width="360" height="217" alt="" />
117
+ <h3>Xcode 6.3.1</h3>
118
+ <p class="width-45 margin-bottom-12">This release includes the Xcode IDE, LLVM compiler, Instruments, iOS Simulator, the latest OS X and iOS SDKs, WatchKit and the Swift 1.2 programming language.
119
+ </p>
120
+ <p class="width-45 margin-bottom-12">
121
+ Updated: Apr 21, 2015<br />
122
+ Build: 6D1002<br />
123
+ SDK: iOS 8.3, OS X v10.10
124
+ </p>
125
+ <p class="width-45 margin-bottom-0">
126
+ <a class="arrow arrow-right" href="http://itunes.apple.com/us/app/xcode/id497799835?ls=1&mt=12">View in the Mac App Store</a></p>
127
+ </section>
128
+
129
+ <section class="pre-release divider-top cleared">
130
+ <img class="right padding-right-100" src="https://devimages.apple.com.edgekey.net/assets/elements/icons/128x128/xcode6-beta.png" width="128" height="128" alt="">
131
+ <h3>Xcode 6.3.2 GM seed</h3>
132
+ <p class="width-45 margin-bottom-12">This is a GM seed of the complete Xcode developer toolset for Mac, iPhone, iPad, and <span class="nowrap">Apple Watch.</span> GM seed tools may be used to upload your apps to the App Store. This release requires <span class="nowrap">OS X Yosemite.</span>
133
+ </p>
134
+ <p class="width-45 margin-bottom-12">
135
+ Released: May 8, 2015<br />
136
+ Build: 6D2102<br />
137
+ SDK: iOS 8.3, OS X v10.10<br />
138
+ <ul class="links small">
139
+ <li class="dmg"><a href="/devcenter/download.action?path=/Developer_Tools/Xcode_6.3.2_GM_seed/Xcode_6.3.2_GM_seed.dmg">Xcode 6.3.2 GM seed</a></li>
140
+ <li class="dmg"><a href="/devcenter/download.action?path=/Developer_Tools/Xcode_6.3.2_GM_seed/Xcode_6.3.2_GM_Seed_Release_Notes.pdf">Xcode 6.3.2 GM seed Release Notes</a></li>
141
+ </ul>
142
+ </p>
143
+ </section>
144
+
145
+ <section class="pre-release divider-top cleared">
146
+ <img class="right padding-right-100" src="https://devimages.apple.com.edgekey.net/assets/elements/icons/128x128/xcode6-beta.png" width="128" height="128" alt="">
147
+ <h3>Xcode 6.4 beta 2</h3>
148
+ <p class="width-45 margin-bottom-12">This is a pre-release version of the complete Xcode developer toolset for Mac, iPhone, iPad, and <span class="nowrap">Apple Watch.</span> This release requires <span class="nowrap">OS X Yosemite.</span>
149
+ </p>
150
+ <p class="width-45 margin-bottom-12">
151
+ Released: Apr 27, 2015<br />
152
+ Build: 6E14<br />
153
+ SDK: iOS 8.4 beta 2, OS X v10.10<br />
154
+ <ul class="links small">
155
+ <li class="dmg"><a href="/devcenter/download.action?path=/Developer_Tools/Xcode_6.4_beta_2/Xcode_6.4_beta_2.dmg">Download Xcode 6.4 beta 2</a></li>
156
+ <li class="document"><a href="/devcenter/download.action?path=/Developer_Tools/Xcode_6.4_beta_2/Xcode_6.4_beta_2_Release_Notes.pdf">Xcode 6.4 beta 2 Release Notes</a></li>
157
+ </ul>
158
+ </p>
159
+ </section>
160
+
161
+
162
+ <section class="related padding-top-40 divider-top">
163
+ <h2>Related Downloads and Resources</h2>
164
+
165
+ <div class="padding-top-30">
166
+ <img class="left" src="https://devimages.apple.com.edgekey.net/assets/elements/icons/64x64/downloads.png" width="64" height="64" alt="">
167
+ <h3>Additional Tools</h3>
168
+ <p>Sign in with your Apple ID to download previous versions of Xcode or additional tools from the developer downloads site. <a class="arrow arrow-right" href="/downloads/">View downloads</a></p>
169
+ </div>
170
+
171
+ <div class="padding-top-20">
172
+ <img class="left" src="https://devimages.apple.com.edgekey.net/assets/elements/icons/64x64/videos.png" width="64" height="64" alt="">
173
+ <h3>Videos</h3>
174
+ <p>Watch and learn from Apple engineers as they show how to bring the best of Apple technologies to your apps. <a class="arrow arrow-right" href="/videos/">Watch videos</a></p>
175
+ </div>
176
+
177
+ <div class="padding-top-20">
178
+ <img class="left" src="https://devimages.apple.com.edgekey.net/assets/elements/icons/64x64/library.png" width="64" height="64" alt="">
179
+ <h3>Guides and Tutorials</h3>
180
+ <p>Find a comprehensive set of programming guides, reference, and sample code for developing with the latest tools and technologies on iOS and OS X.<br /><a class="arrow arrow-right" href="/library/ios/navigation/#section=Topics&topic=Xcode">Read documentation</a></p>
181
+ </div>
182
+
183
+ <div class="padding-top-20">
184
+ <img class="left" src="https://devimages.apple.com.edgekey.net/assets/elements/icons/64x64/forum.png" width="64" height="64" alt="">
185
+ <h3>Forums</h3>
186
+ <p>Post questions and share comments about using Xcode with fellow developers.<br /><a class="arrow arrow-right" href="/devforums/">Join conversations</a></p>
187
+ </div>
188
+ </section>
189
+ </div>
190
+ </div><!-- /content -->
191
+
192
+ <div id="globalfooter">
193
+ <div id="breadory">
194
+ <ol id="breadcrumbs">
195
+ <li class="home"><a href="/">Developer</a></li>
196
+ <li><a href="/xcode/">Xcode</a></li>
197
+ <li>Downloads</li>
198
+ </ol>
199
+ <div id="directorynav" class="ipoditunes">
200
+ <div id="dn-cola" class="column first">
201
+ <h3><a href="/technologies/">What's New</a></h3>
202
+ <ul>
203
+ <li><a href="/ios8/">iOS 8</a></li>
204
+ <li><a href="/osx/whats-new/">OS X Yosemite</a></li>
205
+ <li><a href="/swift/">Swift</a></li>
206
+ <li><a href="/xcode/">Xcode 6</a></li>
207
+ </ul>
208
+ </div><!--/dn-cola-->
209
+ <div id="dn-colb" class="column">
210
+ <h3><a href="/resources/">Resources</a></h3>
211
+ <ul>
212
+ <li><a href="/devcenter/ios/index.action">iOS Dev Center</a></li>
213
+ <li><a href="/devcenter/mac/index.action">Mac Dev Center</a></li>
214
+ <li><a href="/devcenter/safari/index.action">Safari Dev Center</a></li>
215
+ <li><a href="/app-store/">App Store</a></li>
216
+ <li><a href="/iad/">iAd</a></li>
217
+ <li><a href="/icloud/">iCloud</a></li>
218
+ </ul>
219
+ </div><!--/dn-colb-->
220
+ <div id="dn-colc" class="column">
221
+ <h3 class="empty">&nbsp;</h3>
222
+ <ul>
223
+ <li><a href="/devforums/">Forums</a></li>
224
+ <li><a href="/videos/">Videos</a></li>
225
+ <li><a href="/softwarelicensing/">Licensing and Trademarks</a></li>
226
+ <li><a href="/hardwaredrivers/">Hardware and Drivers</a></li>
227
+ <li><a href="/resources/cases/">iPod, iPhone, and iPad Cases</a></li>
228
+ <li><a href="/opensource/">Open Source</a></li>
229
+ </ul>
230
+ </div><!--/dn-colc-->
231
+ <div id="dn-cold" class="column">
232
+ <h3><a href="/programs/">Programs</a></h3>
233
+ <ul>
234
+ <li><a href="/programs/ios/">iOS Developer Program</a></li>
235
+ <li><a href="/programs/ios/enterprise/">iOS Developer Enterprise Program</a></li>
236
+ <li><a href="/programs/ios/university/">iOS Developer University Program</a></li>
237
+ <li><a href="/programs/mac/">Mac Developer Program</a></li>
238
+ <li><a href="/programs/safari/">Safari Developer Program</a></li>
239
+ <li><a href="/programs/mfi/">MFi Program</a></li>
240
+ </ul>
241
+ </div><!--/dn-cold-->
242
+ <div id="dn-cole" class="column last">
243
+ <h3><a href="/support/">Support</a></h3>
244
+ <ul>
245
+ <li><a href="/support/ios/">iOS Developer Program</a></li>
246
+ <li><a href="/support/mac/">Mac Developer Program</a></li>
247
+ <li><a href="/support/safari/">Safari Developer Program</a></li>
248
+ <li><a href="/support/appstore/">App Store</a></li>
249
+ <li><a href="/support/resources/itunes-connect.html">iTunes Connect</a></li>
250
+ <li><a href="/support/technical/">Technical Support</a></li>
251
+ </ul>
252
+ </div><!--/dn-cole-->
253
+ <div class="capbottom"></div>
254
+ </div><!--/directorynav-->
255
+ </div><!--/breadory-->
256
+ <p class="gf-buy">Shop the <a href="http://www.apple.com/store/">Apple Online Store</a> (1-800-MY-APPLE), visit an <a href="http://www.apple.com/retail/">Apple Retail Store</a>, or find a <a href="http://www.apple.com/buy/locator/">reseller</a>.</p>
257
+ <ul class="gf-links piped">
258
+ <li><a href="/news/" class="first">News</a></li>
259
+ <li><a href="/register/">Register</a></li>
260
+ <li><a href="/bug-reporting/">Report Bugs</a></li>
261
+ <li><a href="/contact/">Contact Us</a></li>
262
+ </ul>
263
+ <div class="gf-sosumi">
264
+ <p>Copyright © 2015 Apple Inc. All rights reserved.</p>
265
+ <ul class="piped">
266
+ <li><a href="http://www.apple.com/legal/internet-services/terms/site.html" class="first">Terms of Use</a></li>
267
+ <li><a href="http://www.apple.com/privacy/">Privacy Policy</a></li>
268
+ </ul>
269
+ </div>
270
+ <div id="localization-links">
271
+ <ul>
272
+ <li><a href="/cn/" title="Simplified Chinese">简体中文</a></li>
273
+ <li><a href="/jp/" title="Japanese">日本語</a></li>
274
+ <li><a href="/kr/" title="Korean">한국어</a></li>
275
+ </ul>
276
+ </div>
277
+ </div><!--/globalfooter-->
278
+ </body>
279
+ </html>