• 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: Another Library reference problem/question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another Library reference problem/question...


  • Subject: Re: Another Library reference problem/question...
  • From: Greg Guerin <email@hidden>
  • Date: Sun, 29 Jun 2008 07:35:50 -0700

marc hoffman wrote:

so i guess that means a framework is either compiled to be deployed externally *or* included in .app bundles, but the app developer cannot simply choose to do either, as he pleases?

You can choose as you please. The way you choose is by changing the install-name of the framework, and perhaps of one or more libs it refers to.



odd design choice, i would have expected the OS to just try a series of locations (such as, in the app bundle, then ~/Library, then /Library...

The OS does try a series of locations, but . and ../Frameworks aren't in that list by default. Read 'man dyld' and note the default values for the XX_PATH env-vars. Also note WHEN it searches each path.


Also, there are security consequences for following an arbitrary path looking for libs, so the OS may want to mitigate some of that exposure rather than follow the gently sloping path to hell.

  -- GG

_______________________________________________
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


  • Prev by Date: Trailing whitespace automatic removal?
  • Next by Date: Re: can't open dynamic library
  • Previous by thread: Re: Another Library reference problem/question...
  • Next by thread: i want to use xcode to debug...
  • Index(es):
    • Date
    • Thread