• 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
executable environment variables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

executable environment variables


  • Subject: executable environment variables
  • From: goochrules! <email@hidden>
  • Date: Mon, 22 Nov 2004 15:06:49 -0700

I have a number of .dylibs that have been built with a specific
-install_name for the expected production runtime environment.

reading man dyld it appears that I can set the environment variable
DYLD_LIBRARY_PATH, and this list of paths will be searched in addition
to the path specified in the library.

I find that this does work on command line, but does not in Xcode.  I
am setting this variable in the 'Arguments' tab of the info pane for
the executable I am attempting to debug.

For now my work-around is to create some symbolic links in the
production location and point to the location of the libraries in my
project, but this is a problem for users wanting a self-contained
archive to build the project from.

So, is this a bug in Xcode, or are 'Variables to be set in the
environment:' not mean what I think it means?  Is there any way to see
the environment for the executable being debugged?


-- Matthew Peltzer
-- 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

  • Follow-Ups:
    • Re: executable environment variables
      • From: Chris <email@hidden>
  • Prev by Date: Re: Turning off font smoothing in source code windows?
  • Next by Date: Re: executable environment variables
  • Previous by thread: Re: Including vImage
  • Next by thread: Re: executable environment variables
  • Index(es):
    • Date
    • Thread