Download Xcode 8.2 for Mac Updated
Download Xcode 8.2 for Mac
Xcode is the tool developers use to build apps for the Apple ecosystem – MacOS, iOS, and all things Apple.
This guide will walk you through how to successfully install Xcode onto your Mac, from kickoff to finish.
Here are some handy tips to know before 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.
- Y'all'll demand a good, stable cyberspace connexion. The latest version is around 8 gigabytes in size.
- Be certain to have at least 30 gigabytes of free infinite on your calculator. The latest
.xipfile (v11.4.1 at the time of writing) is ~8 gigabytes zipped. When y'all unzip it, that'due south some other 17 gigabytes. Then yous'll need the command line tool, which is yet another 1.5 gigabytes.
Hither'south an overview of the steps to install Xcode
- Download Xcode
- Install the command line tool
- Open up the new version
- Delete files
Notation that I take listed some Terminal commands in the steps below. These commands tin can be typed into your present working directory. This means that yous don't demand to navigate to whatsoever particular folder.
If you really want to, you tin first type cd before typing the commands in the below steps. This will return you back to the dwelling house folder.
Pace #i: Download Xcode
There are two ways to do this. For the latest version and a theoretically "easy" installation, yous can utilize the App Store. I don't recommend this selection.
I adopt to utilize the developer site. This comes with the bonus option of being able to download any version you'd similar.
Option #1: Download via the App Store for the latest version (not my preferred option)
In theory, this should exist a seamless and pain-complimentary process. But if the installation fails for any reason on the last step, it is very difficult to troubleshoot.
There are a few reasons for failure, and no piece of cake way to know which is the underlying cause. If you do come across a failure, you will need to re-download the unabridged file again each time you lot endeavour to set up the failure. Equally the latest version is 8 gigabytes, I didn't much enjoy this approach.
But if y'all're feeling brave, here are the steps:
- Open the App Store on your mac
- Sign in
- Search for Xcode
- Click install or update
Option two: Download via the Developer site for a specific version (my preferred option)
- Caput to the "more" section of the Apple developer website
- Sign in with your iTunes account id
- Blazon in the version that you lot'd like, and download the
Xcode_x_x_x.xipfile. Proceed in mind that Xcode xi.four.one is 8 gigabytes, so this will accept awhile depending on your internet connexion. - Once the file is downloaded, click on
.xipto extract it. Your laptop will extract it to the same folder y'all downloaded it to. This extraction process is automatic. You lot don't need to exercise anything more after you click on the.xipfile. This footstep will accept a few minutes. - [Optional] One time extracted, rename the application to "Xcode11.10.ten" if you are using multiple versions.
- Elevate awarding to the Applications folder
- [Optional] Set the new Xcode version equally the default. Open up Last and blazon
sudo xcode-select -switch /Applications/Xcodex.ten.ten.app. Replacex.x.xwith the version number. For example:Xcode11.four.ane.app. Y'all will demand to enter in your estimator admin countersign. I'yard pretty sure this will update the default Xcode version for all users on your computer, so best to check with other users first
If you take multiple users on your computer, you lot will demand to update the CLT for each user.
Download .dmg
To update the CLT, go to app developer website and download the command line tool .dmg.
If you have never installed Xcode before, you may be able to update with your Terminal by typing in xcode-select --install instead of visiting the developer website.
Just if you have an existing version of Xcode installed on your auto, you'll probably see this error:
xcode-select: error: command line tools are already installed, use "Software Update" to install updates This ways 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 up a piddling window that looks similar this:
Double click the box and follow the prompts to install the CLT. It will take a few minutes to complete.
It may inquire you at the end of the installation whether you want to move this to the trash bin. When it does this, information technology'southward talking about moving the .dmg file to the trash bin. Since you should no longer need this file. I always say yes to this.
Step #3: Open Xcode
Open the Applications folder and open the new version of Xcode. If you lot renamed Xcode, brand certain y'all open the correct application
Xcode may prompt you to install additional components. Click install. This volition have a few minutes.
While it's installing, check that your default Xcode version is the one you merely downloaded:
- Open Final
- Type
brew config - You should see "CLT" and "Xcode" versions, likewise as everything else. This should reflect the version that you have merely downloaded. In my case, I downloaded Xcode 11.4.1.
CLT: 11.4.1.0.1.1586360307 Xcode: eleven.4.1 => /Applications/Xcode11.4.i.app/Contents/Developer Once the components are installed, Xcode volition launch. You should be able to choice upward your old projects and go on where you left off seamlessly*.
*Note that if yous utilize whatever proxy tools, such equally Charles, you will demand to re-install those certificates in your simulator again.
If you encounter whatever errors while trying to build or run a project, check which device yous are trying to launch. The new version may not remember the device y'all were using before. If so, click on the device and choose "Add together additional simulators" from the drop downwardly carte to add together the device y'all want.
Pace #iv. Delete the files
If you don't demand the older versions of Xcode on your computer, you can uninstall them and go some hard drive space dorsum.
You lot tin can also delete the .xip file of the version yous only downloaded, besides every bit the CLT.dmg file.
That's everything. I hope this has helped you successfully install Xcode. Have fun with it!
Learn to code for free. freeCodeCamp's open source curriculum has helped more than 40,000 people get jobs as developers. Get started
Download Xcode 8.2 for Mac
Posted by: grosvenorables1990.blogspot.com
