• 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
App using multiple plug-ins using same framework - multiple copies of framework required?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

App using multiple plug-ins using same framework - multiple copies of framework required?


  • Subject: App using multiple plug-ins using same framework - multiple copies of framework required?
  • From: Mac QA <email@hidden>
  • Date: Thu, 11 Aug 2011 14:14:53 -0400

Hi,

I have an application that loads multiple plug-ins. Some of the
plug-ins, and the primary application that loads them, also link to a
custom framework. The plug-ins are installed into a directory in
/Library/Application Support, and the primary application is installed
to /Applications.

Recently I noticed I had a copy of the framework in the
Contents/Frameworks directory of the primary application as well as
inside of each plug-in that used the framework. So I removed the
duplicate copies of the framework from inside the plug-ins. But then I
found when the plug-ins are loaded by the primary application the
framework fails to load (it isn't found).

dlyd: Library not loaded: @executable_path/../Frameworks/etc...

Is it possible to have just a single copy of the framework in the
application bundle, then have plug-ins loaded from ApplicationSupport
find that framework inside the bundle of the application that is
loading the plug-in (as opposed to in the plug-in itself)? How might
one accomplish that?

Thanks!
 _______________________________________________
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: App using multiple plug-ins using same framework - multiple copies of framework required?
      • From: Eric Wing <email@hidden>
  • Prev by Date: Re: 32-Bit Universal versus Standard 32/64-bit Universal
  • Next by Date: Analyzer Messages
  • Previous by thread: Re: 32-Bit Universal versus Standard 32/64-bit Universal
  • Next by thread: Re: App using multiple plug-ins using same framework - multiple copies of framework required?
  • Index(es):
    • Date
    • Thread