Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Laura Hill
Laura Hill
13,677 Points

Xcode Select?

Sorry can anyone say what this means? What do I do next?

Last login: Sat Nov 15 21:55:05 on console laurahillsmbp2:~ laurahill$ xcode-select xcode-select: error: no command option given Usage: xcode-select [options]

Print or change the path to the active developer directory. This directory controls which tools are used for the Xcode command line tools (for example, xcodebuild) as well as the BSD development commands (such as cc and make).

Options: -h, --help print this help message and exit -p, --print-path print the path of the active developer directory -s <path>, --switch <path> set the path for the active developer directory -v, --version print the xcode-select version -r, --reset reset to the default command line tools path

Changed category to iOS.

1 Answer

Hi Laura,

I assume you're wanting to install the Xcode developer tools which you can do by running the below command.

xcode-select --install