解决 XCode 7 崩溃报告器中的问题

Resolving problems in XCode 7 crash reporter

我最近发布了我的应用程序的 2.0 版本。 https://itunes.apple.com/app/neo-virtual-reality-for-reddit/id1013650716

我有用户报告应用程序崩溃,但我不知道在 XCode 中该怎么做。当我在项目中打开崩溃时,它不会显示崩溃发生的任何地方。有关详细信息,请参阅随附的屏幕截图:

以后我该如何解决崩溃问题?

编辑:启用位码并包含应用程序符号

您必须符号化崩溃报告:

  1. 从 iTunes Connect 下载崩溃报告
  2. 在 XCode 中打开设备 window:

  1. 连接 iOS 设备
  2. 选择查看设备日志:

  1. 将报告从 Finder 拖到左侧部分

  2. 查看更详细的错误信息

仅当您的存档项目仍然可用时才有效(您可以在管理器中查看 window

答案是:将存档上传到 iTunes Connect 时禁用 BitCode

如果您确实启用了 Bitcode 并遇到了这个问题,只需单击 " Download dSYMs 按钮,然后重试。

参考Apple Technical Note

Because the final compilation of your binary occurs on the App Store, your Mac will not contain the debug symbol (dSYM) files needed to symbolicate crash reports received from App Review or from users who have sent you crash reports from their devices. Although a dSYM file is produced when you archive your application, it is for the bitcode binary and can not be used to symbolicate crash reports. The App Store makes the dSYM files generated during bitcode compilation available for you to download, from Xcode or from the iTunes Connect website. You must download these dSYM files in order to symbolicate crash reports received from App Review or from users who have sent you crash reports from their devices.