应用程序崩溃后未填充xCode设备日志 [英] xCode device logs not populating after application crash

查看:247
本文介绍了应用程序崩溃后未填充xCode设备日志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用分发配置文件构建Corona SDK应用并通过USB电缆将其放在设备上时,我在iPad 2上崩溃了。我正在测试一个错误,该错误在互联网未连接时发生(不确定是否相关)。当应用崩溃时,设备窗口的输出流会指出该应用正在存储崩溃报告( http://pastebin.com/Qa3BeaJ2),但是当我按下查看设备日志按钮时,崩溃从未显示出来。当我按下该按钮时,我收到一条错误消息。解决这个问题的秘诀是让我的崩溃显示在设备日志中吗?

I'm getting a crash on my iPad 2 when building my Corona SDK app with a distribution profile, and putting it on my device via a USB cable. I'm testing a bug that happens when the internet is not connected (not sure if relevant). When the app crashes, the devices window's output stream states that it's storing a crash report (http://pastebin.com/Qa3BeaJ2), but then the crash never shows up when I push the "view device logs" button. When I push that button, I get an error message. Is resolving this the secret to getting my crashes to show up in the device logs?


Jul 28pic:crash_mover [6180] ] :(错误)
NPSLogging:
无法解析活动设备的配对ID((null))或数据存储区((null))

Jul 28 13:41:17 JackSpicer crash_mover[6180] : (Error) NPSLogging: Failed to resolve pairing ID ((null)) or data store ((null)) for active device

谢谢!

更新:现在是晚上10点。我整天都在检查设备日志...现在才从下午5:46开始获得更新。我勒个去?它非常短,并且说:

UPDATE: It's now 10 PM. I've been checking the device logs throughout the day...and I just NOW got an update from 5:46 PM. What the hell? It's extremely short, and says:

Incident Identifier: 2481ECB9-EB67-4580-8F50-0F3BC9DEC466
CrashReporter Key:   cda9dbf37d5d3acf21765f20407ce60ad9f7b70a
Date: 2015-07-28 17:46:26 +0800
Reset count: 0
Boot failure count: 1
Boot faults: 
Boot stage: 255
Boot app: 2681261667


推荐答案

好,我能够填充崩溃。这是我的操作方式:

OK, I was able to populate my crash. Here's how I did it:


  • 已将设备与iTunes同步

  • 已打开〜/ Library / Logs / CrashReporter / MobileDevice /<设备名称>

  • 找到一个名为Retired的文件夹(不知道为什么或为什么)

  • 里面是我的崩溃日志,名为blah.blah.beta

  • 添加了.crash扩展名

  • 将其拖到Xcode的查看设备日志窗口中

  • Synced the device with iTunes
  • Opened ~/Library/Logs/CrashReporter/MobileDevice/< Device Name >
  • Found a folder named Retired (no idea why or what this is)
  • Inside was my crash log named blah.blah.beta
  • Added a .crash extension
  • Dragged it into Xcode's View Device Logs window

这篇关于应用程序崩溃后未填充xCode设备日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆