• 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: [Xcode-Users] Best Practice: Finding the Developer Folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xcode-Users] Best Practice: Finding the Developer Folder


  • Subject: Re: [Xcode-Users] Best Practice: Finding the Developer Folder
  • From: Andy Lee <email@hidden>
  • Date: Thu, 30 Oct 2008 07:48:26 -0400

I would think if xcode-select is not present, you can assume it's / Developer. If xcode-select *is* present, there may by definition be multiple locations and it's up to you to decide if the one it gives is the one you want.

--Andy

On Oct 30, 2008, at 7:37 AM, Alexander von Below wrote:

Hello,

I want my shell scripts to be as flexible as Xcode, and therefore not assume any location for the /Developer folder.

What is the best practice to find the items?

/usr/bin/xcode-select -print-path seems only present if the command line tools have been installed.

Is there an environment variable, or mdfind query to give me the (most likely) selected and active Xcode installation?

Thanks

Alex
_______________________________________________
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

_______________________________________________ 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: 
 >[Xcode-Users] Best Practice: Finding the Developer Folder (From: Alexander von Below <email@hidden>)

  • Prev by Date: [Xcode-Users] Best Practice: Finding the Developer Folder
  • Next by Date: Re: [Xcode-Users] Best Practice: Finding the Developer Folder
  • Previous by thread: [Xcode-Users] Best Practice: Finding the Developer Folder
  • Next by thread: Re: [Xcode-Users] Best Practice: Finding the Developer Folder
  • Index(es):
    • Date
    • Thread