【问题标题】:Xcode not printing crash log on iOS real deviceXcode不在iOS真实设备上打印崩溃日志
【发布时间】:2016-11-08 18:13:06
【问题描述】:

最后我在 Xcode 中使用我的真实设备意识到了这个问题

如果我正在开发的应用程序崩溃,崩溃日志不会在 Xcode 中打印,但是,如果我在模拟器中运行相同的项目并复制相同的崩溃,则日志会成功打印。

如果应用在使用真实设备时崩溃,则会打印:

崩溃后打印一行:

libc++abi.dylib: terminating with uncaught exception of type NSException

我也收到了这个日志:

If the app crashes using a real device this is printed:
warning: could not load any Objective-C class information from the dyld shared cache. This will significantly reduce the quality of type information available.

我正在使用:

Xcode 7.3.1 与 iOS 10 开发者磁盘镜像见reference

真实设备:iOS 10.0.2

有没有办法解决这个问题,并在 Xcode 中使用真实设备再次查看崩溃信息?

提前致谢

【问题讨论】:

    标签: iphone xcode ios10


    【解决方案1】:

    我遇到了同样的问题,并通过从方案环境变量中删除“OS_ACTIVITY_MODE”来解决它 - 禁用。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-11-25
      • 2020-04-23
      • 1970-01-01
      • 2017-10-30
      • 2023-04-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多