App using multiple plug-ins using same framework - multiple copies of framework required?
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