Embedded Frameworks in Plugin & Action Bundles
Embedded Frameworks in Plugin & Action Bundles
- Subject: Embedded Frameworks in Plugin & Action Bundles
- From: Samuel Ford <email@hidden>
- Date: Sat, 07 Nov 2009 10:38:14 -0500
OK, I know this should be easy, but I can't figure it out.
I have an Automator action bundle that uses RegexKit as an embedded
framework in the bundle. The action won't load, though, because of
this error:
Library not loaded: @executable_path/../Frameworks/RegexKit.framework/
Versions/A/RegexKit
I understand the nature of the problem -- the library path is wrong,
it should be relative to the loader path not the executable (which, of
course, is Automator.app, not my action).
From the man page of dyld, it clearly says
@loader_path/
This variable is replaced with the path to the
directory containing the
mach-o binary which contains the load path. This is
useful for a plug-in
that has an embedded framework.
The thing is, I can't figure out where the heck in Xcode I effect this
change.
Help?
- Sam
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden