2011-08-27 51 views
0

在控制檯上,我得到這些錯誤:SIMBL插件加載失敗框架

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存在。因此,我不明白錯誤/問題。

有什麼想法?

回答

0

發現問題:

@executable_path是相對於該應用,而不是束,即,在這種情況下,文本編輯。當然,它並沒有在那裏找到框架。

由於TextEdit的沙盒問題,它也無法從~/Library/Frameworks加載框架。

將框架複製到/Library/Frameworks解決了這個問題。