Objective c 如何隐藏AVFoundation调试日志?

Objective c 如何隐藏AVFoundation调试日志?,objective-c,xcode,xcode6,avfoundation,avplayer,Objective C,Xcode,Xcode6,Avfoundation,Avplayer,OSX10.10和XCode 6.1.1 可能是我把项目设置搞砸了,因为现在控制台中出现了与AVFoundation.framework相关的不必要的日志。在AVPlayer中初始化、设置和播放音乐时出现第一个块 [01:08:32.915] FigLimitedDiskCacheProvider_CopyProperty signalled err=-12784 (kFigBaseObjectError_PropertyNotFound) (no such property) at /Sour

OSX10.10和XCode 6.1.1

可能是我把项目设置搞砸了,因为现在控制台中出现了与AVFoundation.framework相关的不必要的日志。在AVPlayer中初始化、设置和播放音乐时出现第一个块

[01:08:32.915] FigLimitedDiskCacheProvider_CopyProperty signalled err=-12784 (kFigBaseObjectError_PropertyNotFound) (no such property) at /SourceCache/CoreMedia/CoreMedia-1562.19/Prototypes/FigByteStreamPrototypes/FigLimitedDiskCacheProvider.c line 947
Jan 14 01:08:32 MacBook-Air-Roman.local rtcreporting[6668] <Info>: logging starts...
Jan 14 01:08:32 MacBook-Air-Roman.local rtcreporting[6668] <Debug>: setMessageLoggingBlock: called<
Jan 14 01:08:32 MacBook-Air-Roman.local rtcreporting[6668] <Debug>: startConfigurationWithCompletionHandler: Cached 0 enabled backends
Jan 14 01:08:32 MacBook-Air-Roman.local rtcreporting[6668] <Debug>: setUserInfoDict: enabled backends: ( )
[01:08:32.915]FigLimitedDiskCacheProvider\u CopyProperty在/SourceCache/CoreMedia/CoreMedia-1562.19/Prototypes/figbytestreamPrototype/FigLimitedDiskCacheProvider.c行947处发出err=-12784(kFigBaseObjectError\u PropertyNotFound)(无此类属性)信号
一月14日01:08:32 MacBook-Air-Roman.local RTC报告[6668]:开始记录。。。
Jan 14 01:08:32 MacBook-Air-Roman.local RTC报告[6668]:setMessageLoggingBlock:已调用<
Jan 14 01:08:32 MacBook-Air-Roman.local RTC Reporting[6668]:StartConfiguration WithCompletionHandler:缓存0启用的后端
Jan 14 01:08:32 MacBook-Air-Roman.local RTC报告[6668]:setUserInfoDict:启用的后端:()
这些日志在我暂停或播放时出现

Jan 14 01:08:35 MacBook-Air-Roman.local rtcreporting[6668] <Debug>: sendMessageWithCategory: (null)
Jan 14 01:08:35 MacBook-Air-Roman.local rtcreporting[6668] <Debug>: sendMessageWithCategory: (null)
Jan 14 01:08:35 MacBook-Air-Roman.local RTC报告[6668]:sendMessageWithCategory:(空)
Jan 14 01:08:35 MacBook-Air-Roman.local RTC报告[6668]:sendMessageWithCategory:(空)

还有很多我不需要的注意事项,因为所有这些错误都不是关键性的,我以前从未见过它们。我不明白-如何禁用此调试日志?这是什么?

你不能隐藏它们。不幸的是,如果你正在分析日志,最好的办法是将它们粘贴到便笺中,并在分析日志之前用手清除垃圾。

你是为调试还是发布而建?如果我们谈论这个窗口,我两种方法都试过了-@RomanCollinger有什么解决方案吗?为什么会出现这种情况?我也面临同样的问题issue@pooja-不幸的是,没有。试着忽略这个垃圾。我用AVPlayer测试了一个干净的项目,测试了几行代码——同样的事情。我认为这是苹果Xcode 6的问题,因为当我用AVPlayer或MPAudioPlayer代码创建简单的空项目时,我有相同的日志