IOS HockeyApp 崩溃日志 |应用程序没有完全终止,但没有发生崩溃
<p><p>我在 HockeyApp 上收到了很多崩溃日志,它只是说“应用程序没有完全终止,但没有发生崩溃”。跟后台任务有关系吗? </p>
<p>谢谢,</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>当您拥有 HockeyApp 的 <a href="https://www.hockeyapp.net/help/sdk/ios/4.1.5/Classes/BITCrashManager.html#//api/name/enableAppNotTerminatingCleanlyDetection" rel="noreferrer noopener nofollow">AppNotTerminatingCleanlyDetection</a> 时,可能会发生这种情况启用。这是一种启发式方法,可让您跟踪处于前台的 iOS 应用程序的崩溃或终止,否则应用程序的进程内崩溃报告器将无法检测到:</p>
<blockquote>
<p>This allows it to get a crash report if the app got killed while being in the foreground because of one of the following reasons:</p>
<ul>
<li>The main thread was blocked for too long</li>
<li>The app took too long to start up</li>
<li>The app tried to allocate too much memory. If iOS did send a memory warning before killing the app because of this reason, <code>didReceiveMemoryWarningInLastSession</code> returns <code>YES</code>.</li>
<li>Permitted background duration if main thread is running in an endless loop</li>
<li>App failed to resume in time if main thread is running in an endless loop</li>
<li>If <code>enableMachExceptionHandler</code> is not activated, crashed due to stack overflow will also be reported</li>
</ul>
<p>The following kills can NOT be detected:</p>
<ul>
<li>Terminating the app takes too long</li>
<li>Permitted background duration too long for all other cases</li>
<li>App failed to resume in time for all other cases
possibly more cases</li>
<li>Crash reports triggered by this mechanisms do NOT contain a</li>
</ul>
</blockquote></p>
<p style="font-size: 20px;">关于IOS HockeyApp 崩溃日志 |应用程序没有完全终止,但没有发生崩溃,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/43861186/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/43861186/
</a>
</p>
页:
[1]