• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Selection version of xcode in xcodebuild
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Selection version of xcode in xcodebuild


  • Subject: Re: Selection version of xcode in xcodebuild
  • From: Jack Brindle <email@hidden>
  • Date: Wed, 23 Jul 2008 13:14:33 -0700
  • Thread-topic: Selection version of xcode in xcodebuild

Title: Re: Selection version of xcode in xcodebuild
Chris;
Thanks. The man page is a bit confusing, though. It appears that what I really want to do is to set the environment variable DEVELOPER_DIR before invoking xcodebuild. This should allow me to do the build without the need to go to super-user mode when running the xcode_select command.

Am I reading this right?

And, when I do all this, will I be using the Xcode 2.5 version of GCC or the one installed with Xcode 3.0/3.1?



On 7/23/08 12:54 PM, "Chris Espinosa" <email@hidden> wrote:


On Jul 23, 2008, at 11:07 AM, Jack Brindle wrote:

When using xcodebuild, can the specific version of installed Xcode be selected? We have both Version 3.1 and 2.5 installed. Most of our work uses Xcode 3.1, but we do have projects that need to build using the 2.5 tools. How do we tell codebuild which set of tools to use?

man xcode-select

XCODE_SELECT(1)           BSD General Commands Manual          XCODE_SELECT(1)

NAME
     xcode-select -- Manages the path to the Xcode folder for Xcode BSD tools.

SYNOPSIS
     xcode-select [-help]
     xcode-select [-switch xcode_folder_path]
     xcode-select [-print-path]
     xcode-select [-version]

DESCRIPTION
     xcode-select controls the location of the Xcode folder which will be used
     by xcodebuild(1) and other, related Xcode BSD tools. This allows you to
     easily switch between using different versions of the Xcode tools, and
     can be used to update the path to the current Xcode folder if it is moved
     after installation.

     xcode-select does not affect gcc(1), ld(1), gdb(1), and many of the other
     Xcode BSD tools. For a list of the tools which do use xcode-select, see
     FILES below.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Selection version of xcode in xcodebuild (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Gcc warning instead of error
  • Next by Date: Extremely sluggish debugging performance of XCode 3.0
  • Previous by thread: Re: Selection version of xcode in xcodebuild
  • Next by thread: Extremely sluggish debugging performance of XCode 3.0
  • Index(es):
    • Date
    • Thread