IOS Exception 1(libc++abi.dylib: terminating with uncaught exception of type NSException)
2014-08-05 22:18:46.455 SwiftUI[1329:40871] -[_TtC7SwiftUI14MViewControler clickMe]: unrecognized selector sent to instance 0x10ea15dc0
2014-08-05 22:18:46.458 SwiftUI[1329:40871] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_TtC7SwiftUI14MViewControler clickMe]: unrecognized selector sent to instance 0x10ea15dc0'
*** First throw call stack:
(
0 CoreFoundation 0x0000000100463995 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x0000000101eef9a3 objc_exception_throw + 45
2 CoreFoundation 0x0000000100469e8d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x00000001003c391c ___forwarding___ + 988
4 CoreFoundation 0x00000001003c34b8 _CF_forwarding_prep_0 + 120
5 UIKit 0x0000000100cdd6b6 -[UIApplication sendAction:to:from:forEvent:] + 75
6 UIKit 0x0000000100ddf1c0 -[UIControl _sendActionsForEvents:withEvent:] + 467
7 UIKit 0x0000000100dde58f -[UIControl touchesEnded:withEvent:] + 522
8 UIKit 0x0000000100d223b8 -[UIWindow _sendTouchesForEvent:] + 735
9 UIKit 0x0000000100d22ce3 -[UIWindow sendEvent:] + 683
10 UIKit 0x0000000100cf01a1 -[UIApplication sendEvent:] + 246
11 UIKit 0x0000000100cfd07a _UIApplicationHandleEventFromQueueEvent + 17591
12 UIKit 0x0000000100cd9269 _UIApplicationHandleEventQueue + 1967
13 CoreFoundation 0x0000000100399a31 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
14 CoreFoundation 0x000000010038f26d __CFRunLoopDoSources0 + 269
15 CoreFoundation 0x000000010038e8a4 __CFRunLoopRun + 868
16 CoreFoundation 0x000000010038e2d6 CFRunLoopRunSpecific + 470
17 GraphicsServices 0x00000001040ccbbc GSEventRunModal + 161
18 UIKit 0x0000000100cdc288 UIApplicationMain + 1282
19 SwiftUI 0x0000000100002b6d top_level_code + 77
20 SwiftUI 0x0000000100002baa main + 42
21 libdyld.dylib 0x0000000102478145 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
mButton.addTarget(self, action:"clickMe:", forControlEvents:.TouchUpInside);
原因是冒号没写才导致的错误,望大家细心点。
IOS Exception 1(libc++abi.dylib: terminating with uncaught exception of type NSException)的更多相关文章
- mac python3 conda pytorch出错:libc++abi.dylib: terminating with uncaught exception of type NSException
mac 10.14/ conda/python 3.7环境下运行神经网络例子出现错误: -- :::] -[NSApplication _setup:]: unrecognized selector ...
- 新浪微博分享出现libc++abi.dylib: terminating with uncaught exception of type NSException微博微信SDK运行编译报错
SDK出现libc++abi.dylib: terminating with uncaught exception of type NSException 的问题: 解决方法 结合 # 监测bug( ...
- libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)
In Xcode 9 and Swift 4: Print exception stack to know the reason of the exception: Go to show break ...
- libc++abi.dylib: terminating with uncaught exception of type NSException
这是微信sdk注册时候报的错误 解决方法 选择Build Setting,在"Other Linker Flags"中加入"-Objc -all_load"
- iOS - libc++abi.dylib: terminate_handler unexpectedly threw an exception
代码出现crash,报错:libc++abi.dylib: terminate_handler unexpectedly threw an exception 当我们很明确是某一块代码执行导致了错误, ...
- 如何调试libc++abi.dylib handler threw exception错误
From:http://blog.csdn.net/naruto_ku/article/details/8779203 在进行iOS开发时,偶尔会碰到libc++abi.dylib handler t ...
- libc++abi.dylib handler threw exception
在iOS开发时,有时候遇到libc++abi.dylib handler threw exception这样的异常, 虽然在断点出加上了All Exceptions,也断到相应的代码了,但是没打印对 ...
- libc++abi.dylib: terminate_handler unexpectedly threw an exception错误小结
说法一: 我们在运行xcode工程时,有时候会遇到”libc++abi.dylib: terminate_handler unexpectedly threw an exception”错误,app莫 ...
- 综合出现NSScanner: nil string argument libc++abi.dylib: terminat错误的解决方案
在开发中出现了这个错误,断点查找很久,没找到问题所在的代码,google下,发现了下面这几点会产生这个错误: 首先,顾名思义,错误原因是我们在调用某个方法的时候,传入了一个空字符串(注意区别于字符串内 ...
随机推荐
- 杭电oj 1002
#include <iostream> #include <algorithm> using namespace std; int nCases; ], n[]; ], b[] ...
- HDU 6052 To my boyfriend(悬线法)
[题目链接] http://acm.hdu.edu.cn/showproblem.php?pid=6052 [题目大意] 给出一个数字矩阵,求子矩阵期望数字种数 [题解] 我们统计[x,y]为其所表示 ...
- BZOJ 2049 [Sdoi2008]Cave 洞穴勘测(动态树)
[题目链接] http://www.lydsy.com/JudgeOnline/problem.php?id=2049 [题目大意] 要求支持树的断边和连边,以及连接查询 [题解] LCT练习题 [代 ...
- vue-cli创建vue项目
原文出处:https://segmentfault.com/a/1190000008922234 第一步 node环境安装 1.1 如果本机没有安装node运行环境,请下载node 安装包进行安装1. ...
- python基础之面向过程编程,模块
面向过程编程 面向过程的核心是过程,指的是解决问题的步骤,即先干什么再干什么,就好像设计一条流水线. 优点:复杂的问题流程化,进而简单化 缺点:可扩展性差,修改流水线的任意一个阶段,都会牵一发而动全身 ...
- 浙南联合训练赛 D - Broken Clock
You are given a broken clock. You know, that it is supposed to show time in 12- or 24-hours HH:MM fo ...
- kevinekline----------------- SQLSERVER MVP
https://twitter.com/kekline http://kevinekline.com/worth-the-wait-why-sql-server-2008-is-great/ http ...
- Mock -- 数据模拟
作者:张云龙链接:https://www.zhihu.com/question/35436669/answer/62753889来源:知乎著作权归作者所有.商业转载请联系作者获得授权,非商业转载请注明 ...
- PostgreSQL配置文件--其他
9 CLIENT CONNECTION DEFAULTS 9.1 Statement Behavior 9.1.1 search_path 字符型 默认:search_path = '"$u ...
- Gulp新手入门教程
Gulp 是一个自动化工具,前端开发者可以使用它来处理常见任务: 搭建web服务器 文件保存时自动重载浏览器 使用预处理器如Sass.LESS 优化资源,比如压缩CSS.JavaScript.压缩图片 ...