• 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: Loading a private framework from a plug-in (Spotlight)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading a private framework from a plug-in (Spotlight)


  • Subject: Re: Loading a private framework from a plug-in (Spotlight)
  • From: "Peter O'Gorman" <email@hidden>
  • Date: Tue, 20 Feb 2007 14:14:20 +0900


On Feb 20, 2007, at 1:57 PM, Philippe Casgrain wrote:

To avoid this code duplication, I see three possibilities:

1. Load the FileIO.framework manually from the Spotlight plugin. Is that possible?

2. Switch my FileIO.framework to a FileIO.dylib (and use dlopen(), etc...).

3. Make my framework globally-visible, by installing it in /Library/ Frameworks (or ~/Library/Frameworks)

Does anybody know if (1) is possible? I'd rather not switch to a dylib, if possible, since this is scheduled for a Service Pack and changing then bundle layout in a SP is a bigger can of worms...

You do not have to change the bundle layout for dlopen to work.

dlopen("/Path/to/Frameworks/foo.framewor/foo",RTLD_GLOBAL); should "just work".

Peter


_______________________________________________ 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: Loading a private framework from a plug-in (Spotlight)
      • From: Eric Albert <email@hidden>
References: 
 >Loading a private framework from a plug-in (Spotlight) (From: "Philippe Casgrain" <email@hidden>)

  • Prev by Date: Loading a private framework from a plug-in (Spotlight)
  • Next by Date: Corefoundation Assistance?
  • Previous by thread: Loading a private framework from a plug-in (Spotlight)
  • Next by thread: Re: Loading a private framework from a plug-in (Spotlight)
  • Index(es):
    • Date
    • Thread