libc++abi.dylib: terminate_handler unexpectedly threw an exception//NSScanner: nil string argument
来源:互联网 发布:小猪cms招聘 编辑:程序博客网 时间:2024/05/22 02:00
2015-04-03 18:16:10.077 YFFamilyMall[9283:256070] NSScanner: nil string argument
2015-04-03 18:16:10.077 YFFamilyMall[9283:256070] NSScanner: nil string argument
libc++abi.dylib: terminate_handler unexpectedly threw an exception
尼玛,程序crash了啊,好蛋疼,各种忧伤有木有,好吧,言归正传。
知道大家时间宝贵,先说答案,看图:
如图,代码中没有相应的Button,但是在storyBoard中有,就有可能报这种错误,好吧,你把那个警告在storayBoard中删除或者把它连线到代码中,问题就解决了
解题思路:
程序崩了,去问了一下度娘,答案有这样的:http://www.itnose.net/detail/6196671.html
这样的:http://blog.csdn.net/totogo2010/article/details/9816975,和这样的:http://code4app.com/requirement/50e3af4c6803fa497f000000,
啊,看了一下,果断放弃了,人家的都那么高大上,可是我都还没对我的程序怎么样呢,怎么可能是那种原因,好吧,自己去打断点
首先我是由一个按钮点击过去然后崩了的,好吧,打个断点,
能正常运行,好吧,我去跳转页面的代码里面,把所有的方法注释掉,
结果:正常运行,好吧,就剩storyboard了
老样子,删除所有,
那么问题就出在视图中了,好吧,我一个一个删除,(⊙o⊙)…太麻烦了,看一下连线吧
呵呵,看一下连线吧,一失足成千古恨啊!!!!!!!!!!!!!!!
2015年4月8日,天气阴,结果又遇到这货了,不过这次是在UITableView中
解决方法:
//注册单元格
[_tableViewregisterNib:[UINibnibWithNibName:@"ABC"bundle:nil]forCellReuseIdentifier:@"Cell"];
注册名:nibWithNibName:@"ABC"出现错误,改过来就好了
forCellReuseIdentifier:@"Cell",这边写错也是报这种错误的
- libc++abi.dylib: terminate_handler unexpectedly threw an exception//NSScanner: nil string argument
- 出现NSScanner: nil string argument libc++abi.dylib: terminate_handler unexpectedly threw an exception
- libc++abi.dylib: terminate_handler unexpectedly threw an exception错误解决方案
- libc++abi.dylib: terminate_handler unexpectedly threw an exception错误小结
- libc++abi.dylib: terminate_handler unexpectedly threw an exception错误
- libc++abi.dylib: terminate_handler unexpectedly threw an exception
- libc++abi.dylib: terminate_handler unexpectedly threw an exception错误小结
- libc++abi.dylib: terminate_handler unexpectedly threw an exception错误小结
- libc++abi.dylib: terminate_handler unexpectedly threw an exception 报错
- libc++abi.dylib: terminate_handler unexpectedly threw an exception 问题解决
- iOS libc++abi.dylib: terminate_handler unexpectedly threw an exception
- 151128libc++abi.dylib: terminate_handler unexpectedly threw an exception错误
- libc++abi.dylib: terminate_handler unexpectedly threw an exception错误小结
- 解决libc++abi.dylib: terminate_handler unexpectedly threw an exception(1)
- libc++abi.dylib: terminate_handler unexpectedly threw an exception
- libc++abi.dylib: terminate_handler unexpectedly threw an exception错误
- UIActionSheet :libc++abi.dylib: terminate_handler unexpectedly threw an exception
- libc++abi.dylib: terminate_handler unexpectedly threw an exception错误小结
- web请求错误代码
- Maven仓库汇总
- myeclipse 中tomcate 内存配置
- Ubuntu 14.04 LTS下安装matlab 2013b
- linux和windows下socket编程的一点区别
- libc++abi.dylib: terminate_handler unexpectedly threw an exception//NSScanner: nil string argument
- iOS利用Runtime自定义控制器POP手势动画
- Spring RESTful + JSON + FreeMarker整合开发
- 查找类似图片&关键字查找图片
- Matrix4x4
- 对象去重
- ios7关于NavigationBar与布局重叠和setTintcolor无效的解决办法!
- 黑马程序员-iOS视频学习之二
- mysql unauthenticated user connect解决方法