简体   繁体   English

iPhone:仅在ios4上,应用加载异常崩溃

[英]iPhone: Unusual crashing on app loading occurs only on ios4

One of our games "iCopter Classic", which was once in the top selling list and has 100K unique users everyday, is getting bad comments from frustrated users. 我们的其中一款游戏“ iCopter Classic”曾经是销量最高的游戏,每天有10万唯一用户,但受到沮丧用户的不良评价。

The problem they keep reporting is, "The app, crashes on launch" on many ios4 devices, irrespective of the hardware they run on. 他们不断报告的问题是,许多ios4设备上的应用程序均会在启动时崩溃,而与运行的硬件无关。 We have tested the game on iPod Touch 2g, 3g, iPhone 2g, 3gs, 4 and with many iOS combinations. 我们已经在iPod Touch 2g,3g,iPhone 2g,3gs,4以及许多iOS组合上测试了该游戏。 But we were not able to reproduce the problem. 但是我们无法重现该问题。

Our download count went down to 50% because of this problem and bad comments for past 3 updates. 由于这个问题和过去3个更新的不良评论,我们的下载数量下降到50%。 We fixed all iOS 4 related code and now clueless of what to do next to fix this issue. 我们修复了所有与iOS 4相关的代码,现在不知道下一步要解决此问题。

We somehow got crash reports from one of the users which we are not sure how to point the bug. 我们不知何故从其中一位用户那里获得了崩溃报告,但我们不确定该如何指出该错误。

NOTE : My doubt is on this part of the code. 注意 :我对此代码的这一部分表示怀疑。 We are loading around 200 images with separate uiimage objects for loading flags of countries. 我们正在使用独立的uiimage对象加载大约200张图像,以加载国家/地区的标志。

Crash log says: 崩溃日志说:

Exception Type: 00000020     
Exception Codes: 0x8badf00d

The first thing you need to chase up is the log file from the user, that will give you some useful information on what is going on. 您需要追踪的第一件事是来自用户的日志文件,该文件将为您提供有关发生情况的有用信息。

You can symbolicate the crash log from your user (and get a readable call stack), by running the symbolicatecrash utility with the exact .dSYM that was generated when the application was first built: 您可以从symbolicate用户崩溃日志(并得到一个可读的调用堆栈),通过运行应用程序时初建时生成的确切.dSYM的symbolicatecrash实用程序:

symbolicatecrash -o .app.dSYM symbolicatecrash -o .app.dSYM

SymbolicateCrash usually lives in: SymbolicateCrash通常生活在:

/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/symbolicatecrash /开发人员/平台/ iPhoneOS.platform /开发人员/库/ PrivateFrameworks / DTDeviceKit.framework / Versions / A / Resources / symbolicatecrash

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM