• 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: SharedFrameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SharedFrameworks


  • Subject: Re: SharedFrameworks
  • From: Sherm Pendley <email@hidden>
  • Date: Wed, 12 Oct 2005 15:24:20 -0400

On Oct 12, 2005, at 2:43 PM, Lawrence Sanbourne wrote:

What is the SharedFrameworks directory in a bundle for? I can't find
any useful documentation on it.

If I remember correctly, I think it's added to the framework search path along with ~/Library/Frameworks, etc. So, when the dynamic linker looks for a framework that has an install name that doesn't specify a path, it'll look in SharedFrameworks/ for the framework, but if a newer version of the framework is found elsewhere it will use that instead.


I think it's poorly documented and not often used because it makes testing difficult - Your app might wind up using a framework version that hadn't been released yet when your app was written, and if the newer framework version isn't compatible with your app, you're screwed. Using SharedFrameworks/ is basically asking for the Mac version of "DLL Hell".

sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: SharedFrameworks
      • From: Lawrence Sanbourne <email@hidden>
References: 
 >SharedFrameworks (From: Lawrence Sanbourne <email@hidden>)

  • Prev by Date: Re: Drawing code...
  • Next by Date: Anyone willing to port Moire to OS X 10.4?
  • Previous by thread: SharedFrameworks
  • Next by thread: Re: SharedFrameworks
  • Index(es):
    • Date
    • Thread