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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to