我的应用程序在第三代 Ipad 中崩溃,但在我的 ipad 2 中运行良好,在第三代 ipad 中显示“内存警告”。我的应用程序在 ARC 中。控制台日志如下所示。我在谷歌上搜索了几次,在他们建议更改 plist 名称的帖子之一中,我有线但尝试过,没有改变。请帮助我。谢谢
2013-04-17 13:21:42 +0000 searchd Could not open updates file for com.apple.MobileSMS SMSSearch
2013-04-17 13:21:42 +0000 searchd Finished getting 33 applications, took 0.048442 seconds
2013-04-17 13:21:43 +0000 searchd Indexed all records in 0.28s
2013-04-17 13:22:09 +0000 SpringBoard could not save thumbnail for downloading icon: image=(null) path='/var/mobile/Library/SpringBoard/DownloadingIconImageCache/com.OneandoLLC.MyApp-14C1F156-4461-410E-93CE-4FE55B75B86D'
2013-04-17 13:22:14 +0000 lsd Attempting to store identifiers file
2013-04-17 13:22:14 +0000 lsd updating identifier store
2013-04-17 13:22:27 +0000 SpringBoard Memory level is not normal. Pending auto-relaunch of 'com.facebook.Facebook' until it is.
2013-04-17 13:22:27 +0000 backboardd Application 'UIKitApplication:com.apple.mobilesafari[0x7974]' exited abnormally with signal 9: Killed: 9
2013-04-17 13:22:27 +0000 backboardd Application 'UIKitApplication:com.mybusinessapp.JPOP[0x22fc]' exited abnormally with signal 9: Killed: 9
2013-04-17 13:22:27 +0000 backboardd Application 'UIKitApplication:com.mybusinessapp.dssapp[0x11db]' exited abnormally with signal 9: Killed: 9
2013-04-17 13:22:27 +0000 backboardd Application 'UIKitApplication:com.facebook.Facebook[0xbf29]' exited abnormally with signal 9: Killed: 9
2013-04-17 13:22:28 +0000 My App Received memory warning.
2013-04-17 13:22:31 +0000 backboardd -[BKSystemAppSentinel lock_bootstrapEmbedded] Found running system app (com.apple.SpringBoard, pid 66). Attempting to stop it...
2013-04-17 13:22:32 +0000 SpringBoard lockdown says we've previously registered: [0], state is 0
2013-04-17 13:22:32 +0000 SpringBoard lockdown says the device is: [Activated], state is 3
2013-04-17 13:22:32 +0000 SpringBoard ERROR: _xpc_handle_outgoing_request error: Connection invalid
2013-04-17 13:22:32 +0000 backboardd Telling the system app that it can start immediately
2013-04-17 13:22:38 +0000 SpringBoard BTM: attaching to BTServer
2013-04-17 13:22:39 +0000 assistant_service the local store doesn't allow tasks and we have no default calendar :(
2013-04-17 13:22:39 +0000 SpringBoard WiFi picker plugin initialized
2013-04-17 13:22:39 +0000 SpringBoard SIMToolkit plugin for SpringBoard initialized.
2013-04-17 13:22:39 +0000 SpringBoard SMS Plugin initialized.
2013-04-17 13:22:42 +0000 itunesstored iTunes Store environment is: ST11
2013-04-17 13:22:49 +0000 assistant_service the local store doesn't allow tasks and we have no default calendar :(
最佳答案
您正在使用 ARC,但 ARC 不提供与内存崩溃相关的任何保证,编译器会在资源空闲时自动保留引用,但如果在整个导航流程中使用任何资源,则它不能保留引用,如果您的应用程序发生内存崩溃,然后在 Instruments 工具上检查您的应用程序,特别关注 instruments 工具上的脏尺寸部分。
关于ios - 应用程序在 Ipad 3rd Generation 中崩溃,但在 ipad 2 中工作正常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16080603/