Xcode Download for Mac 10.9 5 Updated

Xcode Download for Mac 10.9 5

How to Download Xcode and Install it on Your Mac – and Update it for iOS Development

Xcode is the tool developers utilize to build apps for the Apple ecosystem – MacOS, iOS, and all things Apple tree.

This guide will walk y'all through how to successfully install Xcode onto your Mac, from start to finish.

Here are some handy tips to know earlier you get started:

  • Xcode only runs on a mac. If you are on a PC, sadly y'all won't exist able to use Xcode.
  • Yous'll need a expert, stable internet connectedness. The latest version is around eight gigabytes in size.
  • Be sure to have at to the lowest degree 30 gigabytes of free space on your computer. The latest .xip file (v11.4.ane at the fourth dimension of writing) is ~8 gigabytes zipped. When you unzip information technology, that's some other 17 gigabytes. And then y'all'll need the control line tool, which is even so another one.v gigabytes.

Here's an overview of the steps to install Xcode

  1. Download Xcode
  2. Install the command line tool
  3. Open the new version
  4. Delete files

Note that I have listed some Last commands in the steps below. These commands tin can be typed into your present working directory. This means that you don't need to navigate to whatever particular folder.

If yous really want to, you tin first type cd before typing the commands in the below steps. This will return you back to the abode folder.

Step #1: Download Xcode

At that place are ii means to practice this. For the latest version and a theoretically "easy" installation, y'all can use the App Store. I don't recommend this option.

I prefer to use the programmer site. This comes with the bonus option of beingness able to download any version you'd like.

Option #1: Download via the App Store for the latest version (non my preferred option)

In theory, this should be a seamless and pain-free process. Just if the installation fails for whatsoever reason on the last footstep, it is very difficult to troubleshoot.

There are a few reasons for failure, and no easy way to know which is the underlying cause. If y'all exercise encounter a failure, you will need to re-download the entire file again each time you attempt to fix the failure. Every bit the latest version is viii gigabytes, I didn't much savor this approach.

Just if you're feeling brave, here are the steps:

  • Open the App Shop 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)

image-258
A screenshot of https://developer.apple.com/download/more/
  1. Head to the "more than" department of the Apple developer website
  2. Sign in with your iTunes account id
  3. Type in the version that you'd similar, and download the Xcode_x_x_x.xip file. Keep in mind that Xcode xi.4.1 is eight gigabytes, so this will take awhile depending on your internet connection.
  4. Once the file is downloaded, click on .xip to excerpt it. Your laptop will extract it to the same folder you downloaded it to. This extraction process is automated. Yous don't need to do anything more than later you click on the .xip file. This pace will take a few minutes.
  5. [Optional] In one case extracted, rename the application to "Xcode11.x.ten" if you lot are using multiple versions.
  6. Elevate application to the Applications folder
  7. [Optional] Set the new Xcode version as the default. Open Terminal and type sudo xcode-select -switch /Applications/Xcodex.x.x.app . Replace x.x.10 with the version number. For example: Xcode11.4.1.app. Yous will demand to enter in your computer admin countersign. I'thousand pretty sure this will update the default Xcode version for all users on your estimator, and so best to cheque with other users outset

If yous take multiple users on your calculator, you volition demand to update the CLT for each user.

Download .dmg

image-269
A screenshot of https://developer.apple tree.com/download/more/

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.

But if you take an existing version of Xcode installed on your machine, you'll probably run across this error:

                xcode-select: error: command line tools are already installed, use "Software Update" to install updates              

This ways yous'll demand to go to the programmer website instead.

Installing the CLT

When the .dmg has finished downloaded, double click the file to open up it. This will open a little window that looks like this:

image-271

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 lot at the end of the installation whether y'all want to move this to the trash bin. When it does this, it'due south talking almost 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 renamed Xcode, make certain you lot open up the correct application

Xcode may prompt you to install additional components. Click install. This volition take a few minutes.

image-273

While it's installing, check that your default Xcode version is the one you just downloaded:

  • Open up Terminal
  • Type brew config
  • You should run across "CLT" and "Xcode" versions, also as everything else. This should reverberate the version that you have only downloaded. In my case, I downloaded Xcode eleven.4.1.
                CLT: 11.four.1.0.1.1586360307 Xcode: 11.4.1 => /Applications/Xcode11.4.1.app/Contents/Programmer              

In one case the components are installed, Xcode volition launch. You should be able to option upward your old projects and go along where yous left off seamlessly*.

*Note that if yous use any proxy tools, such as Charles, you volition need to re-install those certificates in your simulator again.

If you lot encounter whatever errors while trying to build or run a project, check which device you are trying to launch. The new version may not recall the device you were using before. If and then, click on the device and choose "Add together boosted simulators" from the driblet downwardly menu to add the device you want.

image-275

Footstep #iv. Delete the files

If you don't need the older versions of Xcode on your figurer, you can uninstall them and go some difficult drive infinite back.

You can also delete the .xip file of the version y'all just downloaded, as well as the CLT.dmg file.

That's everything. I hope this has helped you successfully install Xcode. Have fun with information technology!



Learn to code for free. freeCodeCamp's open source curriculum has helped more 40,000 people get jobs equally developers. Get started

Xcode Download for Mac 10.9 5

Posted by: paulaagied1995.blogspot.com

Post a Comment

Previous Post Next Post