0

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

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存在。因此,我不明白错误/问题。

任何的想法?

4

1 回答 1

0

发现问题:

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

~/Library/Frameworks由于 TextEdit 的沙盒,它也无法从中加载框架。

复制框架来/Library/Frameworks解决问题。

于 2011-08-27T19:25:43.783 回答