libc++abi.dylib: terminate_handler unexpectedly threw an exception

最近在用ios的自动布局,但是运行的时候总是崩溃,出现libc++abi.dylib: terminate_handler unexpectedly threw an exception 错误,因为用的xib,打断点确定代码没有问题,那就是xib出问题了,最后发现某个按钮的背景图在工程里竟然有2个名字相同的,改完以后clean,如果还不好使,就只能delete按钮重新拖拽了,

posted @ 2015-02-07 15:44  苹果开发  阅读(461)  评论(0编辑  收藏  举报