invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific

来源:互联网 发布:恺英网络造假 编辑:程序博客网 时间:2024/06/05 19:04

这两天 控制台无论什么错误都打印 下面的信息,比如数组越界:

+[CATransaction synchronize] called within transaction+[CATransaction synchronize] called within transactioninvalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_RunCalledWithInvalidMode to debug. This message will only appear once per execution.libc++abi.dylib: terminate_handler unexpectedly threw an exception
  • 1
  • 2
  • 3
  • 4

找了很久没发现我有什么错误,后来来发现是集成 Umeng 数据统计的原因,我关闭了友盟的打印功能。开启就能正常打印出错误的内容了。

[MobClick setLogEnabled:YES];   // 上架的时候就要关掉
阅读全文
0 0
原创粉丝点击