Objective c QCCompositionPickerPanel预览

Objective c QCCompositionPickerPanel预览,objective-c,xcode,macos,cocoa,nsview,Objective C,Xcode,Macos,Cocoa,Nsview,我的OS X应用程序有问题。基本上我有一个NSView,上面有几个QCViews。在每个QCView中,我加载一个合成文件(composition.qtz)。如果我想从QCCompositionPickerPanel加载一个过滤器,如下所示:[ 我在日志中发现了一个奇怪的错误。除此之外,QCCompositionPickerPanel如果没有像左下角图像那样的“预览”,它看起来就不好 以下是日志: 2016-06-14 19:45:28.747 Selfie Collage[968:643738

我的OS X应用程序有问题。基本上我有一个
NSView
,上面有几个
QCViews
。在每个
QCView
中,我加载一个合成文件(
composition.qtz
)。如果我想从
QCCompositionPickerPanel
加载一个过滤器,如下所示:[

我在日志中发现了一个奇怪的错误。除此之外,
QCCompositionPickerPanel
如果没有像左下角图像那样的“预览”,它看起来就不好

以下是日志:

2016-06-14 19:45:28.747 Selfie Collage[968:643738] *** QCPlugIn: Cannot preflight plug-in at path "/Users/xxx/Library/Graphics/Quartz Composer Plug-Ins/ImageExporter.plugin" (Error Domain=NSCocoaErrorDomain Code=3587 "dlopen_preflight(/Users/xxx/Library/Graphics/Quartz Composer Plug-Ins/ImageExporter.plugin/Contents/MacOS/ImageExporter): no suitable image found.  Did find:
    /Users/xxx/Library/Graphics/Quartz Composer Plug-Ins/ImageExporter.plugin/Contents/MacOS/ImageExporter: file too short" UserInfo={NSLocalizedFailureReason=The bundle is damaged or missing necessary resources., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Users/xxx/Library/Graphics/Quartz Composer Plug-Ins/ImageExporter.plugin/Contents/MacOS/ImageExporter, NSDebugDescription=dlopen_preflight(/Users/xxx/Library/Graphics/Quartz Composer Plug-Ins/ImageExporter.plugin/Contents/MacOS/ImageExporter): no suitable image found.  Did find:
    /Users/xxx/Library/Graphics/Quartz Composer Plug-Ins/ImageExporter.plugin/Contents/MacOS/ImageExporter: file too short, NSBundlePath=/Users/xxx/Library/Graphics/Quartz Composer Plug-Ins/ImageExporter.plugin, NSLocalizedDescription=The bundle “ImageExporter” couldn’t be loaded because it is damaged or missing necessary resources.})
2016-06-14 19:45:32.325 Selfie Collage[968:643738] *** <QCNodeManager | namespace = "com.apple.QuartzComposer" | 382 nodes>: Patch with name "BackdropsQCQuickTimePlayer" is missing
2016-06-14 19:45:32.326 Selfie Collage[968:643738] *** Message from <QCPatch = 0x112e3ce10 "(null)">:
Cannot create node of class "BackdropsQCQuickTimePlayer" and identifier "(null)"
2016-06-14 19:45:32.326 Selfie Collage[968:643738] *** Message from <QCPatch = 0x112e3ce10 "(null)">:
Cannot create connection from ["output" @ "Splitter_7"] to ["inputPath" @ "BackdropsQCQuickTimePlayer_1"]
2016-06-14 19:45:32.326 Selfie Collage[968:643738] *** Message from <QCPatch = 0x112e3ce10 "(null)">:
Cannot create connection from ["outputTime" @ "Clock_1"] to ["_time" @ "BackdropsQCQuickTimePlayer_1"]
2016-06-14 19:45:32.326 Selfie Collage[968:643738] *** Message from <QCPatch = 0x112e3ce10 "(null)">:
Cannot create connection from ["outputImage" @ "BackdropsQCQuickTimePlayer_1"] to ["source_0" @ "Multiplexer_4"]
2016-06-14 19:45:32.328 Selfie Collage[968:643738] *** State restoration failed on <QCPatch = 0x112e3ce10 "(null)">
2016-06-14 19:45:32.342 Selfie Collage[968:643738] *** <QCNodeManager | namespace = "com.apple.QuartzComposer" | 382 nodes>: Patch with name "BackdropsQCQuickTimePlayer" is missing
2016-06-14 19:45:32.342 Selfie Collage[968:643738] *** Message from <QCPatch = 0x1007212f0 "(null)">:
Cannot create node of class "BackdropsQCQuickTimePlayer" and identifier "(null)"
2016-06-14 19:45:32.343 Selfie Collage[968:643738] *** Message from <QCPatch = 0x1007212f0 "(null)">:
Cannot create connection from ["output" @ "Splitter_7"] to ["inputPath" @ "BackdropsQCQuickTimePlayer_1"]
2016-06-14 19:45:32.343 Selfie Collage[968:643738] *** Message from <QCPatch = 0x1007212f0 "(null)">:
Cannot create connection from ["outputTime" @ "Clock_1"] to ["_time" @ "BackdropsQCQuickTimePlayer_1"]
2016-06-14 19:45:32.343 Selfie Collage[968:643738] *** Message from <QCPatch = 0x1007212f0 "(null)">:
Cannot create connection from ["outputImage" @ "BackdropsQCQuickTimePlayer_1"] to ["source_0" @ "Multiplexer_4"]
2016-06-14 19:45:32.345 Selfie Collage[968:643738] *** State restoration failed on <QCPatch = 0x1007212f0 "(null)">
2016-06-14 19:45:28.747自拍拼贴[968:643738]***QCPlugIn:无法在路径“/Users/xxx/Library/Graphics/Quartz Composer插件/ImageExporter.plugin”处预飞插件(错误域=NSCocoaErrorDomain代码=3587”dlopen_预飞(/Users/xxx/Library/Graphics/Quartz Composer插件/ImageExporter.plugin/Contents/MacOS/ImageExporter):未找到合适的图像。未找到:
/Users/xxx/Library/Graphics/Quartz Composer插件/ImageExporter.plugin/Contents/MacOS/ImageExporter:file too short“UserInfo={NSLocalizedFailureReason=捆绑包已损坏或缺少必要的资源,.nsLocalizedRecoverysSuggestion=尝试重新安装捆绑包,.NSFilePath=/Users/xxx/Library/Graphics/Quartz Composer插件/ImageExporter.plugin/Contents/MacOS/ImageExporter,NSDebugDescription=dlopen\u飞行前(/Users/xxx/Library/Graphics/Quartz Composer插件/ImageExporter.plugin/Contents/MacOS/ImageExporter):未找到合适的图像。是否找到:
/Users/xxx/Library/Graphics/Quartz Composer插件/ImageExporter.plugin/Contents/MacOS/ImageExporter:文件太短,NSBundlePath=/Users/xxx/Library/Graphics/Quartz Composer插件/ImageExporter.plugin,NSLocalizedDescription=无法加载捆绑包“ImageExporter”,因为它已损坏或缺少必要的资源。})
2016-06-14 19:45:32.325自拍拼贴[968:643738]***:缺少名为“BackDropSQuickTimePlayer”的修补程序
2016-06-14 19:45:32.326自拍拼贴[968:643738]***消息来源:
无法创建类“BackDropSQuickTimePlayer”和标识符(null)的节点
2016-06-14 19:45:32.326自拍拼贴[968:643738]***消息来源:
无法创建从[“输出”@“拆分器_7”]到[“输入路径”@“BackDropSQuickTimePlayer_1”的连接
2016-06-14 19:45:32.326自拍拼贴[968:643738]***消息来源:
无法创建从[“outputTime”@“Clock_1”]到[“_time”@“BackDropSQuickTimePlayer_1”的连接
2016-06-14 19:45:32.326自拍拼贴[968:643738]***消息来源:
无法创建从[“outputImage”@“BackdropsQCQuickTimePlayer_1”]到[“source_0”@“Multiplexer_4”]的连接
2016-06-14 19:45:32.328自拍拼贴[968:643738]***上的状态恢复失败
2016-06-14 19:45:32.342自拍拼贴[968:643738]***:缺少名为“BackDropSQuickTimePlayer”的修补程序
2016-06-14 19:45:32.342自拍拼贴[968:643738]***消息来源:
无法创建类“BackDropSQuickTimePlayer”和标识符(null)的节点
2016-06-14 19:45:32.343自拍拼贴[968:643738]***消息来源:
无法创建从[“输出”@“拆分器_7”]到[“输入路径”@“BackDropSQuickTimePlayer_1”的连接
2016-06-14 19:45:32.343自拍拼贴[968:643738]***消息来源:
无法创建从[“outputTime”@“Clock_1”]到[“_time”@“BackDropSQuickTimePlayer_1”的连接
2016-06-14 19:45:32.343自拍拼贴[968:643738]***消息来源:
无法创建从[“outputImage”@“BackdropsQCQuickTimePlayer_1”]到[“source_0”@“Multiplexer_4”]的连接
2016-06-14 19:45:32.345自拍拼贴[968:643738]***上的状态恢复失败
有人能帮我吗?
如果有必要,我可以提供一些代码。

看看这些线程:谢谢@StefanSzekeres我找到了,但对我没有帮助……看看这些线程:谢谢@StefanSzekeres我找到了,但对我没有帮助。。。。