• 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: Dashboard widget plugin with embedded framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dashboard widget plugin with embedded framework


  • Subject: Re: Dashboard widget plugin with embedded framework
  • From: Nick Zitzmann <email@hidden>
  • Date: Mon, 8 Aug 2005 18:21:02 -0600


On Aug 8, 2005, at 6:04 PM, David Sinclair wrote:

I'm hoping I've missed something. Otherwise, it seems that the only solution is to have an installer to install the framework in / Library/Frameworks. Rather unsatisfactory.

Or, is there some way I can get the plugin to manually load the framework?

The easiest way to do it, if the framework has no resources (excluding Info.plist and InfoPlist.strings), is to make a static build of the framework and link that to your plugin.


If the framework does have resources, however, then you'll need to change its installation path using the install_name_tool program. Specifically, change its path to "@loader_path/../Frameworks" before you link it to your plugin. See <http://developer.apple.com/ releasenotes/DeveloperTools/dyld.html> for details.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________
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: Dashboard widget plugin with embedded framework
      • From: David Sinclair <email@hidden>
References: 
 >Dashboard widget plugin with embedded framework (From: David Sinclair <email@hidden>)

  • Prev by Date: Dashboard widget plugin with embedded framework
  • Next by Date: Apparent Cocoa leak of TMSInputSources
  • Previous by thread: Dashboard widget plugin with embedded framework
  • Next by thread: Re: Dashboard widget plugin with embedded framework
  • Index(es):
    • Date
    • Thread