• 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: David Sinclair <email@hidden>
  • Date: Mon, 8 Aug 2005 20:37:42 -0700


On Aug 8, 2005, at 17:21, Nick Zitzmann wrote:

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.

Thank you. With that hint, I tried adding a new deployment configuration to the framework project, and changing the Installation Directory build setting to "@loader_path/../Frameworks", and that did the trick. Simple!


--

David Sinclair, Dejal Systems, LLC - email@hidden
Custom Mac OS X development - http://www.dejal.com/consulting/
Site change and failure monitor tool - http://www.dejal.com/simon/
Plus other useful Mac products - http://www.dejal.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
References: 
 >Dashboard widget plugin with embedded framework (From: David Sinclair <email@hidden>)
 >Re: Dashboard widget plugin with embedded framework (From: Nick Zitzmann <email@hidden>)

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