Tuesday, March 18, 2008

Use @loader_path instead of @executable_path

If the Widget plugin is not at @executable_path, it will not be able to find a framework via @executable_path/../Frameworks/... So how can you load a framework in a Widget plugin.

The solution is to use @loader_path instead of @executable_path.

(from the dashboard-dev mailing list)

No comments: