Cómo descargar el código de Google de SVN a Mac

I'd like to download the Google APIs Objective-C client onto my Mac (OSX 10.8). En esta página establece lo siguiente:

Non-members may check out a read-only working copy anonymously over HTTP. svn checkout http://google-api-objectivec-client.googlecode.com/svn/trunk/ google-api-objectivec-client-read-only

So I tried running that line in Terminal, and all I got was:

-bash: svn: command not found

Can anyone tell me what I'm doing wrong? SVN should be installed already with OSX, no? Or do I need to install it first? Do SVN commands work in any directory?

Any help, much appreciated. Thanks guys.

preguntado el 27 de agosto de 12 a las 10:08

Sounds like you should get behind Problema 810 -

2 Respuestas

I'm pretty sure you need Apple's command line tools. You can get these by either installing Xcode from the Mac App Store or downloading the command line tools from aquí.

Respondido 27 ago 12, 11:08

THANK YOU THANK YOU THANK YOU. I downloaded the Mountain Lion command line tools from that link and it's now downloading my source. Much appreciated! - los Duncs

Some time you don't need to install that tool separately. When you will run svn command on terminal, and if that tool is not present then OS X it self will prompt you for the message and will suggest you to install Xcode tool. - OverrockESTRELLA

How to install Command Line Tools:

Xcode / Behaviors / Edit behaviors... / Downloads / Command Line Tools / Install

Respondido el 11 de Septiembre de 12 a las 22:09

This is no longer the case in Xcode 5. It is now Xcode/Preferences.../Downloads - Josué Goossen

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.