How do I compile this?

Discussion in 'Mac Programming' started by macdoobie, Mar 7, 2008.

  1. macrumors member

    Feb 12, 2008
    I have source code I want to compile but the only instructions are:

    1. cd clients2/echo/osx
    2. xcodebuild -target "Build All"

    I installed xcode 3.0 from my Leopard installation CD and the program is running right now --- but I guess I'm just lost from where to go from here.

    Any help would be amazing!

  2. macrumors 6502a


    Mar 8, 2007
    Cambridge, MA
    Open up a terminal (/Applications/Utilities/

    Type this:

    cd clients2/echo/osx

    hit enter, then type this:

    xcodebuild -target "Build All"

    and you're done.
  3. thread starter macrumors member

    Feb 12, 2008
    Thank you for your quick response, racking my brain with this one. I got this from terminal:

    anya-s-macbook:~ Anya$ cd /Users/Anya/PGP/clients2/echo/osx
    anya-s-macbook:eek:sx Anya$ xcodebuild -target "Build All"
    xcodebuild: Warning: no valid targets in target list. Building default target.
    Unknown target: Build All

    Usage: xcodebuild [-project <projectname>] [-activetarget] [-alltargets] [-target <targetname>]... [-parallelizeTargets] [-activeconfiguration] [-configuration <configurationname>] [<buildsetting>=<value>]... [<buildaction>]...
    xcodebuild [-version]
    xcodebuild [-list]

    Edit: Inside /echo/osx is a file called "Echo.xcodeproj". I suppose this has some importance?
  4. Moderator emeritus


    Jun 15, 2000
    You could try opening Echo.xcodeproj in Xcode and building it there directly.
  5. thread starter macrumors member

    Feb 12, 2008
    I clicked the file and xcode opened. A few seconds it asked for the "root project folder" and I said to choose the /clients2/osx. I then clicked build and then it fails. I'd post it here, but its 16 pages copied into iWork and that is just way too much crap for anyone to read. Thanks anyway guys for the suggestions:p

Share This Page