如何读取出现在控制台中的错误代码?什么是“信号异常退出9:已杀死:9”是指
<Warning>: ....... -exited abnormally with signal 9: Killed: 9
<Warning>: ....... -1 err = Bad file descriptor (0x00000009)
这里信号9是什么意思,除此之外还有更多的信号。任何可用的文档。
我得到这种错误,当一个应用程序。从Xcode启动的终止由Xcode工具栏中的“停止”按钮终止。
{获得此错误的另一种方法是,按主页按钮,然后双击主页按钮并关闭应用程序。 }
当我启动应用程序时,事情会变得更糟。 再次,通过点击应用程序。图标在iPad屏幕上,应用程序崩溃并引发“libMobileGestalt copySystemVersionDictionaryValue:无法从系统版本字典查找ReleaseType”
从查找堆栈溢出,我看到这个错误是在iOS 6设备中找到。
这url states,这是一个SIGKILL错误,它发生在“应用程序被立即终止,没有任何机会,以清理或捕获并处理信号”
所以,我认为在“释放OBJETS - (空)didReceiveMemoryWarning“无助于解决它,那么什么可能是一个明确的解决方案?
-(void) didReceiveMemoryWarning{
[super didReceiveMemoryWarning];
//release objects
obj1=nil;
[view1 removeFromSuperView];
view1=nil;
........
}
查看[signal.h手册页](http://developer.apple.com/library/ios/#documentation/system/conceptual/manpages_iphoneos/man3/signal.3.html)定义的信号。 – nif 2013-06-20 16:39:53