• 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: user-specific build variables?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: user-specific build variables?


  • Subject: Re: user-specific build variables?
  • From: Chris Espinosa <email@hidden>
  • Date: Mon, 9 Apr 2007 13:53:58 -1000


On Apr 9, 2007, at 8:10 AM, Kenny Leung wrote:

I have a shell-script build phase that references svn, but the location of svn can be different for different people on our team. Is there a way to provide the path to svn into the build process on a user-by-user basis?

You can define it in the Source Trees preference pane, differently for each user, and refer to it just like any other user-defined build setting.  All build settings are passed as environment variables to the Run Script build phase, so if your users define SVN_PATH as /usr/local/bin/svn, then you can use ${SVN_PATH} in your Run Script build phase script.

Chris
 _______________________________________________
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: 
 >user-specific build variables? (From: Kenny Leung <email@hidden>)

  • Prev by Date: Re: Per-configuration output name?
  • Next by Date: ghost .h file
  • Previous by thread: user-specific build variables?
  • Next by thread: Per-target output name?
  • Index(es):
    • Date
    • Thread