• 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
PATH for applications run inside XCode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PATH for applications run inside XCode


  • Subject: PATH for applications run inside XCode
  • From: Jon Hodgson <email@hidden>
  • Date: Fri, 24 Apr 2015 10:29:54 +0100

Hi,

I have a console app which searches the folders in PATH for a file, on my system that file is in /opt/local/bin

It works fine from the command line .

But from inside XCode it fails, because /opt/local/bin is not in the path.

I 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?

I'm using XCode 6 on Yosemite by the way.

regards

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

  • Follow-Ups:
    • Re: PATH for applications run inside XCode
      • From: Roland Bosa <email@hidden>
    • Re: PATH for applications run inside XCode
      • From: Jens Alfke <email@hidden>
    • Re: PATH for applications run inside XCode
      • From: Scott Ribe <email@hidden>
  • Prev by Date: Per-operation, per-file arguments?
  • Next by Date: Re: PATH for applications run inside XCode
  • Previous by thread: Per-operation, per-file arguments?
  • Next by thread: Re: PATH for applications run inside XCode
  • Index(es):
    • Date
    • Thread