Download Xcode Older Version for Mac
![How to Download Xcode and Install it on Your Mac – and Update it for iOS Development](https://cdn-media-2.freecodecamp.org/w1280/5f9c9b61740569d1a4ca2b7b.jpg)
Xcode is the tool developers apply to build apps for the Apple ecosystem – MacOS, iOS, and all things Apple tree.
This guide volition walk yous through how to successfully install Xcode onto your Mac, from start to finish.
Here are some handy tips to know earlier you lot get started:
- Xcode only runs on a mac. If you are on a PC, sadly you won't be able to use Xcode.
- You lot'll need a skillful, stable internet connectedness. The latest version is around 8 gigabytes in size.
- Be sure to have at least 30 gigabytes of costless space on your computer. The latest
.xip
file (v11.4.1 at the time of writing) is ~8 gigabytes zipped. When y'all unzip information technology, that's another 17 gigabytes. So you'll need the command line tool, which is even so another i.5 gigabytes.
Here's an overview of the steps to install Xcode
- Download Xcode
- Install the command line tool
- Open up the new version
- Delete files
Annotation that I have listed some Terminal commands in the steps beneath. These commands can be typed into your present working directory. This means that you don't need to navigate to whatever particular folder.
If y'all really want to, you can first type cd
before typing the commands in the beneath steps. This will return you lot back to the home folder.
Step #1: Download Xcode
There are two ways to do this. For the latest version and a theoretically "like shooting fish in a barrel" installation, you can use the App Store. I don't recommend this option.
I prefer to apply the programmer site. This comes with the bonus pick of beingness able to download any version you'd similar.
Pick #1: Download via the App Store for the latest version (non my preferred option)
In theory, this should be a seamless and pain-gratuitous procedure. But if the installation fails for any reason on the last step, it is very hard to troubleshoot.
There are a few reasons for failure, and no piece of cake mode to know which is the underlying cause. If you lot practice encounter a failure, you will need to re-download the unabridged file again each fourth dimension y'all try to prepare the failure. Equally the latest version is 8 gigabytes, I didn't much savor this approach.
But if you're feeling dauntless, here are the steps:
- Open the App Store on your mac
- Sign in
- Search for Xcode
- Click install or update
Option ii: Download via the Developer site for a specific version (my preferred option)
![image-258](https://www.freecodecamp.org/news/content/images/2020/04/image-258.png)
- Head to the "more" section of the Apple programmer website
- Sign in with your iTunes account id
- Type in the version that you'd similar, and download the
Xcode_x_x_x.xip
file. Go along in mind that Xcode 11.iv.i is eight gigabytes, so this volition take awhile depending on your internet connection. - Once the file is downloaded, click on
.xip
to excerpt information technology. Your laptop will extract it to the same folder you downloaded it to. This extraction process is automatic. You don't need to practise anything more than afterward you click on the.xip
file. This step will take a few minutes. - [Optional] Once extracted, rename the application to "Xcode11.ten.x" if yous are using multiple versions.
- Elevate application to the Applications folder
- [Optional] Set the new Xcode version equally the default. Open Terminal and blazon
sudo xcode-select -switch /Applications/Xcodex.x.x.app
. Replaceten.x.10
with the version number. For case:Xcode11.iv.1.app
. You will demand to enter in your estimator admin password. I'm pretty sure this volition update the default Xcode version for all users on your computer, then best to check with other users showtime
If you have multiple users on your figurer, you will demand to update the CLT for each user.
Download .dmg
![image-269](https://www.freecodecamp.org/news/content/images/2020/04/image-269.png)
To update the CLT, get to app developer website and download the command line tool .dmg
.
If you accept never installed Xcode before, you may be able to update with your Terminal past typing in xcode-select --install
instead of visiting the developer website.
But if you lot accept an existing version of Xcode installed on your machine, you'll probably see this mistake:
xcode-select: mistake: command line tools are already installed, utilize "Software Update" to install updates
This means you'll need to go to the developer website instead.
Installing the CLT
When the .dmg
has finished downloaded, double click the file to open information technology. This will open a lilliputian window that looks like this:
![image-271](https://www.freecodecamp.org/news/content/images/2020/04/image-271.png)
Double click the box and follow the prompts to install the CLT. It will take a few minutes to consummate.
Information technology may ask you at the finish of the installation whether you lot desire to motion this to the trash bin. When it does this, it'due south talking about moving the .dmg
file to the trash bin. Since you should no longer need this file. I ever say yes to this.
Step #3: Open Xcode
Open the Applications binder and open the new version of Xcode. If y'all renamed Xcode, make sure you open up the correct application
Xcode may prompt you to install additional components. Click install. This will take a few minutes.
![image-273](https://www.freecodecamp.org/news/content/images/2020/04/image-273.png)
While information technology'southward installing, bank check that your default Xcode version is the ane you lot just downloaded:
- Open Terminal
- Type
brew config
- You should see "CLT" and "Xcode" versions, as well equally everything else. This should reflect the version that you lot have just downloaded. In my instance, I downloaded Xcode 11.4.1.
CLT: 11.4.i.0.1.1586360307 Xcode: 11.4.1 => /Applications/Xcode11.4.i.app/Contents/Developer
Once the components are installed, Xcode will launch. Yous should be able to choice up your one-time projects and continue where yous left off seamlessly*.
*Annotation that if y'all use any proxy tools, such equally Charles, you will need to re-install those certificates in your simulator again.
If you meet any errors while trying to build or run a project, bank check which device y'all are trying to launch. The new version may non remember the device you were using before. If so, click on the device and cull "Add boosted simulators" from the driblet down carte du jour to add the device you lot desire.
![image-275](https://www.freecodecamp.org/news/content/images/2020/04/image-275.png)
Step #4. Delete the files
If you lot don't need the older versions of Xcode on your reckoner, y'all can uninstall them and get some hard drive space back.
You tin also delete the .xip
file of the version you simply downloaded, as well every bit the CLT.dmg
file.
That's everything. I promise this has helped y'all successfully install Xcode. Take fun with it!
Learn to code for free. freeCodeCamp's open up source curriculum has helped more than 40,000 people get jobs equally developers. Get started
Download Xcode Older Version for Mac UPDATED
- Get link
- Other Apps
Comments
Post a Comment