Xcode 10.12

Xcode IDE contain Command-Line utilities. But separate Command-Line installer cause errors for use by Homebrew, Python, and other development tools

Xcode 10.12
  1. I've an Early 2011 MacBook and I am not able to upgrade the operating system beyond macOS Sierra 10.12.6 (16G1815) on it. I am working with Xcode and in my current project I need to integrate Auto-renewable Subscriptions functionality, but discount features such as free trail period, pay as you go, and pay upfront are linked in introductory.
  2. According to Xcode Releases, Xcode 9.2 is the latest version that runs on Sierra. Original Poster. 1 point 1 year ago. Ok I’ll download it overnight and check tomorrow morning.
  3. I am prasad Bhave and in this video, I will show you how to run Xcode on windows 10 Download LinksGoogle Drive (One Full): Drive.
  4. Xcode 8.3.3: macOS 10.12 osximage: xcode8: Xcode 8.0: macOS 10.11 osximage: xcode7.3: Xcode 7.3.1: macOS 10.11 Detailed iOS SDK versions are available in the macOS CI environment reference. Objective-C vs Swift # Right now, language: swift is just an alias for language: objective-c. Said another way, we don’t have native support for Swift.
  • What Has Been Installed?
  • Xcode Version
  • Xcode IDE install from Terminal
  • B) Initial IDE install using web App Store
Xcode 10.12

This tutorial describes the installation and usage of Apple’s Xcode set of utilities for macOS developers.

Xcode 10.12

Get step-by-step guidance on how to use Xcode to build, test, and submit apps to the App Store. Xcode Help Guide Xcode Support Page. API Reference and Sample Code. Browse the latest documentation including API reference, articles, and sample code. Apple Developer.

Xcode is Apple’s free app for developing custom programs for all Apple devices (macOS, iPhone, iPad, Apple Watch). Increasingly, Machine Learning developers are using the Swift language.

Since the Apple Store only handles individual .app files, other mechanisms are needed to install additional programs needed as a pre-requisite by Homebrew, Python, and other development programs.

BTW Xcode only works on macOS. There is no Windows PC version.

About Xcode

PROTIP: Skip Apple’s websites and App. Click here for install instructions (below).

Otherwise, read on for a run-around.

Xcode 10.12.6 Download

  1. Use an internet browser to view Apple’s Xcode marketing page at:

    Xcode “includes everything you need to create amazing apps for all Apple platforms. Now Xcode and Instruments look great in the new Dark Mode on macOS Mojave. The source code editor lets you transform or refactor code more easily, see source control changes alongside the related line, and quickly get details on upstream code differences. You can build your own instrument with custom visualization and data analysis. Swift compiles software more quickly, helps you deliver faster apps, and generates even smaller binaries. Test suites complete many times faster, working with a team is simpler and more secure, and much more.”.

    BTW the “Apple platforms” include MacOS, iPhone, iPad, Apple TV, and Apple Watch.

Xcode does not come with macOS because of its large size and because many users of macOS don’t need it to do software development.

Developers who use another IDE (such as Visual Studio, Eclipse, etc.) would only need to install Xcode’s command line utilities for the GCC compiler Python needs to build code.

PROTIP: Newer versions of Xcode installer also installs a Git client.

Overlapping installers

Xcode 10.15.2

Imagine a Venn diagram of overlapping circles:

  1. The Xcode IDE, which can be installed on a Terminal command line interface (CLI) or

  2. downloaded as a package from the App Store.

Either way, Xcode contains:

  1. Command Line Utilities which can be installed separately on a Terminal command line session.

PROTIP: Xcode IDE cannot be installed if Command Utilities has already been installed.

However, you can switch:

So choose which one you want installed.

What Has Been Installed?

  1. In a Terminal window, find out what has been installed:

    That’s the same command as:

    If the Xcode-select command is not found, choose to eitherinstall Command Line Tools or install the full Xcode IDE.

    You have Command Line Tools installed and not the full Xcode if you see the path where CommandLineTools are installed:

    If all you need is Command Line Tools, you’re good to go.

    Alternately, if the full Xcode was installed, you would instead see:

  2. Get a list of its folders if Xcode IDE was installed:

    The response would be:

    Delete first

  3. PROTIP: If you want the full Xcode IDE when you have the Command Line Tools installed, first uninstall Command Line Tools, then install the full Xcode IDE.

    More version information

    Xcode Version

  4. From within a Terminal, type:

    If Command Line Tools was installed, you would see:

    If Xcode is installed, you would get a version code that should match up with the Build Number on the Apple web page:

  5. For a more precise version number and other info (macOS Mavericks version and up):

    A sample response, at time of writing:

    The previous command was constructed based on a search of tools package names:

    The response:

  6. Get the version of GCC installed:

    If Xcode was installed, you would see (at time of writing):

    Previously, it was instead:

    If Command Line Utilities is installed, you would see (at time of writing):

  7. Identify the path where the make utility Java uses:

    a. If Xcode is installed, the response is:

    b. If Command Line Utilities is installed, the response is:

    c. If no Xcode is installed:

    Swift version

  8. Get the version of the Swift program used to develop iOS mobile apps:

    Sample response at time of this writing:

    If jamf installed Xcode, you’ll also see:

    The above appears regardless of whether Command Line Utilities or Xcode is installed.

    From here, uninstall and install Command Line Tools or install the full Xcode IDE.

    UnInstall Command Line Tools

    PROTIP: This is also how you upgrade Command Line Tools.

  9. Go to the parent folder where Command Line Tools is installed:

  10. Get a list of its folders:

    If Command Line Tools were installed, the response would be :

  11. Remove all files in that folder, which requires a password for elevated permissions to get all the files:

    The response is a lot of files removed (to the Trash).

    Now you can choose to eitherinstall Command Line Tools or install the full Xcode IDE.

    Install Command Line Utilities only

    See https://developer.apple.com/library/archive/technotes/tn2339/_index.html and http://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x

  12. To install the whole Xcode IDE:

    You should see this pop up:

  13. Manually click “Install”, “Agree”, then “Install” to the “Updates Available” pop-up.

    NOTE: The xGB download takes 13 minutes on a 10mbps line.

  14. When you see “The software was installed.”, click “Done” to dismiss the pop-up.

Xcode IDE install from Terminal

  1. Make sure you have at least 13GB free on your hard-drive before attempting installation.

    1. Click the Apple icon to select “About this Mac”.
    2. Click “Storage” tab.
  2. In an internet browser, get to the “Mac App Store Preview” for Xcode at
    https://apps.apple.com/us/app/Xcode/id497799835?mt=12

  3. Click View in Mac App Store, then “Open App Store.app” in the pop-up.

  4. Provide your Apple ID and password. Get one if you don’t already have one.

    PROTIP: DO NOT install a beta version of Xcode.

    The blue “OPEN” icon appears at the upper-right when the app is installed.But don’t click it because we are done.

  5. In Finder, look for Xcode.app in the /Applications folder.

    Alternately, on the Touchpad pinch 4 fingers together to click the App Store. Type enough of “Xcode” to filter out others.

  6. To view the version, cursor to the top of the screen and click the program name next to the Apple icon to select “About Xcode”:

A) Initial install from Terminal CLI

  1. Open a Terminal.app console window at any directory to install -all the latest Xcode from Apple:

    The response on Catalina version of macOS:

  2. Click the Apple icon at the upper-right corner and select “Shut Down…”.

    After starting again

  3. Set Apple’s licensing agreement bit:

  4. Manually agree to the terms.

  5. Get the version number of the new version.

B) Initial IDE install using web App Store

  1. In an internet browser, https://developer.apple.com/download

  2. Sign in to Apple Developer with your email address then click the arrow icon. Enter your password, then click the arrow icon.

    Below is the “Software Update” approach:

    You’ll need to establish an Apple ID if you haven’t already.

  3. Click the cloud icon Download and provide your Apple ID.

  4. Go through Apple’s location verification if prompted.

  5. Confirm your account.

  6. Click “Allow” to the pop-up “Do you want to download?”.

    Xcode size

  7. CAUTION: Make sure that your machine has enough free space available.

    These are massive files that may take a while to download if you don’t have a fast internet connection.

    NOTE: Each version of Xcode is related to a specific version of the Apple OS Mac operating system.

    FileDateDownloadUnpacked
    Xcode_12.12020-10-0110.5 GB11.5 GB
    Xcode_11.52020-06-017.5 GB? GB
    Xcode_10.2.12019-04-17? GB6.1 GB
    Xcode_9.02017-09-19. ? GB? GB
    Xcode_8.2.1 8C10022016-12-19? GB? GB
    Xcode_8_beta_2.xip2016-07-055.9 GB12.32 GB
    Xcode_7.312016-05-033.8 GB?
    Xcode_4.12014-2.9 GB?
    Xcode_3.2.42014-2.? GB?
  8. Switch to Finder Downloads folder to watch progress on the file name ending with “Download”. The one with a clock icon which signifies downloading.

  9. Return to the versions instructions above to view the updated version.

  10. Delete the installer after you’re done, to reclaim disk space.

Xcode IDE Upgrade

Xcode

Over time, Apple updates Xcode and its command line utilities.

  1. Click the Apple icon, then click System Preferences. Here is an example notification:

  2. Search for “Software Updates” or click the icon.
  3. Click “Update Now” if that appears. (but first do a backup.)
  4. Click “Agree” to the EULA.
  5. When done, view the version numbers installed.

Xcode FileMerge tool

Xcode 10.12

Xcode graphically compares files and directories.

  1. Open Xcode. This takes a few seconds.

  2. Right-click on Xcode icon. Select “Open Developer Tool”. Select “FileMerge”.

  3. Specify one file to compare.

  4. Specify the other file to compare.

  5. Click “Compare”.

More on OSX

This is one of a series on Mac OSX:

Xcode 12.5.1

Please enable JavaScript to view the comments powered by Disqus.

Xcode 12.1 Download