gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-11-29 10:34:15 28 4
gpt4 key购买 nike

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

最佳答案

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

"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 应用程序

"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."

关于ios - 使用 testflight 应用程序时读取日志?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27915003/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com