Xcode在iOS真实设备上不打印崩溃日志



最后我在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 with iOS 10开发人员磁盘映像见参考。

真实设备:iOS 10.0.2

是否有办法解决这个问题,并在Xcode中使用真正的设备再次看到崩溃信息?

Thanks in advance

我也遇到过同样的问题,并通过从方案环境变量中删除"OS_ACTIVITY_MODE" - disable来解决。

最新更新