首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >SIMBL插件无法加载框架

SIMBL插件无法加载框架
EN

Stack Overflow用户
提问于 2011-08-28 03:08:09
回答 1查看 457关注 0票数 0

在控制台上,我收到以下错误:

代码语言:javascript
复制
27.08.11 20:56:06,371 sandboxd: ([83008]) TextEdit(83008) deny file-read-data /Users/az/Library/Frameworks/FScript.framework/Versions/A/FScript
27.08.11 20:56:06,372 TextEdit: Error loading /Users/az/Library/Containers/com.apple.TextEdit/Data/Library/Application Support/SIMBL/Plugins/FScriptAnywhere.bundle/Contents/MacOS/FScriptAnywhere:  dlopen(/Users/az/Library/Containers/com.apple.TextEdit/Data/Library/Application Support/SIMBL/Plugins/FScriptAnywhere.bundle/Contents/MacOS/FScriptAnywhere, 265): Library not loaded: @executable_path/../Frameworks/FScript.framework/Versions/A/FScript
  Referenced from: /Users/az/Library/Containers/com.apple.TextEdit/Data/Library/Application Support/SIMBL/Plugins/FScriptAnywhere.bundle/Contents/MacOS/FScriptAnywhere
  Reason: no suitable image found.  Did find:
    /Users/az/Library/Frameworks/FScript.framework/Versions/A/FScript: open() failed with errno=1

文件FScriptAnywhere.bundle/Contents/Frameworks/FScript.framework/Versions/A/FScript存在。因此,我不理解错误/问题。

有什么想法吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2011-08-28 03:25:44

找到问题了:

@executable_path是相对于应用程序的,而不是与捆绑包相关的,即本例中的TextEdit。当然,它在那里找不到框架。

由于TextEdit的沙箱,它也不能从~/Library/Frameworks加载框架。

将框架复制到/Library/Frameworks解决了这个问题。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/7216706

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档