应用程序正在崩溃第一代和第二代iPod Touch

时间:2011-04-14 12:39:15

标签: iphone objective-c xcode ipod-touch

据我所知,我发布的应用程序(隐藏伦敦 - 免费应用程序)在第二代和第三代iPod touch上崩溃。它在iPhone和iPad上没有问题。

崩溃日志如下:

Wed Apr 13 09:03:40 unknown kernel[0] <Debug>: launchd[908] Builtin profile: container (sandbox)

Wed Apr 13 09:03:40 unknown kernel[0] <Debug>: launchd[908] Container: /private/var/mobile/Applications/E509FC07-A742-4483-95B1-7393B3F129B9 [69] (sandbox)

Wed Apr 13 09:03:40 unknown sandboxd[911] <Notice>: HiddenLondon(908) deny file-write-data /private/var/mobile/Applications/E509FC07-A742-4483-95B1-7393B3F129B9/HiddenLondon.app/HiddenLondon.sqlite

Wed Apr 13 09:03:40 unknown HiddenLondon[908] <Warning>: Not purchased: com.Beutelkind.HiddenLondon.ExtraPlaces

Wed Apr 13 09:03:40 unknown HiddenLondon[908] <Warning>: Not purchased: com.Beutelkind.HiddenLondon.RemoveAds

Wed Apr 13 09:03:42 unknown securityd[910] <Error>: OCSPResponse: now + maxAge > latestNextUpdate, using latestNextUpdate

Wed Apr 13 09:03:42 unknown com.apple.SpringBoard[24] <Notice>: CoreAnimation: timed out fence 500

Wed Apr 13 09:04:00 unknown HiddenLondon[908] <Warning>: ADBannerView: WARNING A banner view (0x159470) has an ad but may be obscured. This message is only printed once per banner view.

Wed Apr 13 09:04:31 unknown configd[22] <Notice>: jetsam: kernel memory event (90), free: 323, active: 1250, inactive: 1494, purgeable: 0, wired: 7841

Wed Apr 13 09:04:31 unknown configd[22] <Notice>: jetsam: kernel termination snapshot being created

Wed Apr 13 09:04:31 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.AdSheetPhone[0xabc0]) Exited: Killed

Wed Apr 13 09:04:31 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.Beutelkind.HiddenLondon[0x2fef]) Exited: Killed

Wed Apr 13 09:04:31 unknown SpringBoard[24] <Warning>: Received memory warning. Level=1

Wed Apr 13 09:04:31 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.mobilemail[0x736e]) Exited: Killed

Wed Apr 13 09:04:31 unknown SpringBoard[24] <Warning>: Received memory warning. Level=1

Wed Apr 13 09:04:32 unknown SpringBoard[24] <Warning>: Application 'AdSheet' exited abnormally with signal 9: Killed

Wed Apr 13 09:04:32 unknown SpringBoard[24] <Warning>: Application 'HiddenLondon' exited abnormally with signal 9: Killed

Wed Apr 13 09:04:32 unknown SpringBoard[24] <Warning>: Application 'Mail' exited abnormally with signal 9: Killed

Wed Apr 13 09:04:32 unknown SpringBoard[24] <Warning>: Memory level is not normal (56%). Delaying auto-relaunch of 'Mail' for 30 seconds.

Wed Apr 13 09:04:32 unknown SpringBoard[24] <Warning>: Received memory warning. Level=1

Wed Apr 13 09:04:33 unknown ReportCrash[917] <Error>: Saved crashreport to /Library/Logs/CrashReporter/LowMemory-2011-04-13-090433.plist using uid: 0 gid: 0, synthetic_euid: 0 egid: 0

有没有人可以帮我解决为什么iPod Touch上可能会发生这种情况?

2 个答案:

答案 0 :(得分:9)

您的应用崩溃原因的提示是Received memory warning. Level=1。你失去了记忆。这可能是您的应用程序用于数据结构的RAM量,但是当您用完图形内存时,我更常见的是这种类型的错误 - 即用于合成视图的内存,缓存图像等。总量第1代和第2代的RAM触摸仅为128MB。第3代和第4代将其提升至256MB。

日志中与内存相关的信息以jetsam: kernel memory event (90), free: 323, active: 1250, inactive: 1494, purgeable: 0, wired: 7841开头,这是一条“内存不足”警告消息。然后,您会看到操作系统终止了一大堆应用程序(Exited: Killedexited abnormally with signal 9: Killed)。这是iOS在低内存条件下的记录行为 - 它会杀死应用程序,直到它有足够的可用内存。

答案 1 :(得分:1)

我相信您的应用程序使用了大量内存,因此它会被操作系统杀死。