Program received signal: “0”. Data Formatters temporarily unavailable

折月煮酒 提交于 2019-12-17 10:46:23

问题


I'm working on an iPad app that downloads a CSV file from the web and parses the file into a NSMutableArray. (I'm using the code from http://www.macresearch.org/cocoa-scientists-part-xxvi-parsing-csv-data suggested in another post).

When I run in the simulator, everything works perfectly, but when I run on the device, I get the following error:

Program received signal:  “0”.
Data Formatters temporarily unavailable, will re-try after a 'continue'. (Unknown error loading shared library "/Developer/usr/lib/libXcodeDebuggerSupport.dylib")
(gdb)

Does anyone know why this would pop up? Google isn't helping me here... :(

Thanks!


回答1:


Signal 0 usually (but not always) points to your app being killed for using too much memory.

Your view controllers should received the memory warning method in a low memory situation, and it is up to you to free up some memory when they arrive. If you don't free any memory and continue to use more memory the app will be forcibly quit.

The data formatters message in the console relates to the debugger. For some reason the debugger was unable to load the data formatters used to represent the data in the application. probably because the phone didn't have any memory left for them.



来源:https://stackoverflow.com/questions/2813454/program-received-signal-0-data-formatters-temporarily-unavailable

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!