xcode报错:invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific
2018-01-09 14:00
344 查看
xcode不论什么原因都统一报错:
invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_RunCalledWithInvalidMode to debug. This message will only appear once per execution.
即使是数组越界也看不到类似:
context=*** -[__NSArray0 objectAtIndex:]: index 0 beyond bounds for empty NSArray
这样的报错信息。
后来也是百度看到一篇博客,说是集成友盟统计时默认关闭了日志打印,我们需要将日志打印打开:
[MobClick
setLogEnabled:YES];
然后就可以正常看到崩溃日志了
invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_RunCalledWithInvalidMode to debug. This message will only appear once per execution.
即使是数组越界也看不到类似:
context=*** -[__NSArray0 objectAtIndex:]: index 0 beyond bounds for empty NSArray
这样的报错信息。
后来也是百度看到一篇博客,说是集成友盟统计时默认关闭了日志打印,我们需要将日志打印打开:
[MobClick
setLogEnabled:YES];
然后就可以正常看到崩溃日志了
相关文章推荐
- invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_Run
- invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_Run
- invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific
- invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_Run
- invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_Run
- solve error pydoop.LocalModeNotSupported: ERROR: Hadoop is configured to run in local mode
- How to run eclipse in clean mode? and what happens if we do so?
- Overlay permissions needs to be granted in order for react native apps to run in dev mode
- NSRunLoopCommonModes和NSDefaultRunLoopMode区别时发现
- A wrapper for maven to run with specific JAVA_HOME
- 关于appium+python TouchAction提示错误:The coordinates provided to an interactions operation are invalid
- The installer is unable to run in graphical mode: required operating system packages for Linux
- How to make JDev run ant script in debug mode permanently
- How to run Android apps in tablet mode on your phone
- JDev: How to make JDev run ant script in debug mode permanently
- 75.Your test database is configured to run in NOARCHIVELOG mode. One of the data files in the USERS
- How to Run a Program in Compatibility Mode
- iOS学习笔记----NSTimer(基本使用,DefaultRunLoopMode,NSRunLoopCommonModes,准确性)
- Failed to connect to Coordinator: All builds will run in standalone mode.
- How to run JBoss (5.1) under debug mode