Show: Delphi C++
Display Preferences

Installing the Xcode Command Line Tools on a Mac

From RAD Studio
Jump to: navigation, search

Go Up to OS X Application Development

Go Up to iOS Mobile Application Development

Notice: Beginning from the Xcode version 6.1, the Xcode Command Line Tools are automatically installed during Xcode installation.

Check whether the Xcode command line tools are installed on your Mac:

  1. Start Xcode on the Mac.
  2. Choose Preferences from the Xcode menu.
    XcodePreference.png
  3. In the General window, click the Locations tab.
  4. On the Location window, check that the Command Line Tools option shows the Xcode version (with which the Command Line Tools were installed). This means that the Xcode Command Line Tools are already installed and you do not need to install them.
    XcodeLocations.png

If the Xcode Command Line Tools are not installed:

In this case the Command Line Tools option does not show the Xcode version. You can install the Xcode command-line tools in either of two ways:

To install the necessary Xcode tools using Xcode on the Mac:
  1. Start Xcode on the Mac.
  2. Choose Preferences from the Xcode menu.
  3. In the General panel, click Downloads.
  4. On the Downloads window, choose the Components tab.
  5. Click the Install button next to Command Line Tools.
    InstallingiOSCommandLineTools.png

  6. You are asked for your Apple Developer login during the install process.
To install the necessary Xcode tools from the Web:
  1. On your Mac, to download the Xcode command line tools directly from the developer portal as a .dmg file, go to https://developer.apple.com/downloads/index.action.
  2. You are asked for your Apple Developer login during the install process.
  3. On the Downloads for Apple Developer list, select the Command Line Tools entry that you want.

See Also

Personal tools
In other languages
Previous Versions
Assistance