Re: PATH for applications run inside XCode

2015-04-24 Thread Scott Ribe
On Apr 24, 2015, at 3:29 AM, Jon Hodgson jonhodgson.devli...@googlemail.com 
wrote:
 
  can work around this issue, but it does beg the question, is there a way to 
 ensure that a program run inside XCode will see the same PATH (and ideally 
 other environment variables) as it would see when run from the command line?

/opt/local/bin is not in the path by default, you’ve installed something which 
has added it to your path via some . file in your home directory.

So you should probably just edit the scheme, add an appropriate entry to 
environment variables, and not worry about Xcode not getting it automatically.

-- 
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice






 ___
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list  (Xcode-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: PATH for applications run inside XCode

2015-04-24 Thread Jens Alfke

 On Apr 24, 2015, at 12:16 PM, Roland Bosa rb...@logitech.com wrote:
 
 Launch Xcode from the command line (which has the proper environment):
 
  $ cd folder_of_funky_project
  $ open FunkyProject.xcodeproj

That won’t work because the ‘open’ tool doesn’t directly launch Xcode; instead 
it calls LaunchServices, which starts Xcode as a child of launchd as normal.

What would work is:
$ /Applications/Xcode.app/Contents/MacOS/Xcode FunkyProject.xcodeproj

—Jens ___
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list  (Xcode-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com