您的位置:首页 > 运维架构

invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_Run

2017-01-15 13:24 836 查看
这两天 控制台无论什么错误都打印 下面的信息,比如数组越界:

+[CATransaction synchronize] called within transaction
+[CATransaction synchronize] called within transaction
invalid 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


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

[MobClick setLogEnabled:YES];   // 上架的时候就要关掉
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐