使用 testflight 应用程序时读取日志?

Read logs when using testflight app?

使用 tesflight 应用程序时如何读取日志?应用程序没有崩溃。我在设备中找不到任何崩溃日志。还有其他想法吗?您如何检查 CloudKit 中是否有问题,但仅在 testflight 应用程序中而不是 运行 处于调试模式时?

如果要记录发布版本,则应使用记录框架。有许多可用的框架支持发布版本的日志记录。您可能喜欢:

"It is similar in concept to other popular logging frameworks such as log4j, yet is designed specifically for Objective-C, and takes advantage of features such as multi-threading, grand central dispatch (if available), lockless atomic operations, and the dynamic nature of the Objective-C runtime."

"LibComponentLogging is a small logging library for Objective-C applications on Mac OS X and the iPhone OS which provides conditional logging based on log levels and log components. Additionally, different logging strategies can be used, e.g. writing log messages to a file or sending them to the system log, while using the same logging interface."

  • NSLogger:喜欢专用可视化 OS X App

"NSLogger is a high perfomance logging utility which displays traces emitted by client applications running on Mac OS X or iOS (iPhone OS). It replaces your usual NSLog()-based traces and provides powerful additions like display filtering, image and binary logging, traces buffering, timing information, etc."