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)的更多相关文章

  1. 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 ...

  2. 新浪微博分享出现libc++abi.dylib: terminating with uncaught exception of type NSException微博微信SDK运行编译报错

    SDK出现libc++abi.dylib: terminating with uncaught exception of type NSException  的问题: 解决方法 结合 # 监测bug( ...

  3. 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 ...

  4. libc++abi.dylib: terminating with uncaught exception of type NSException

    这是微信sdk注册时候报的错误 解决方法 选择Build Setting,在"Other Linker Flags"中加入"-Objc -all_load"

  5. iOS - libc++abi.dylib: terminate_handler unexpectedly threw an exception

    代码出现crash,报错:libc++abi.dylib: terminate_handler unexpectedly threw an exception 当我们很明确是某一块代码执行导致了错误, ...

  6. 如何调试libc++abi.dylib handler threw exception错误

    From:http://blog.csdn.net/naruto_ku/article/details/8779203 在进行iOS开发时,偶尔会碰到libc++abi.dylib handler t ...

  7. libc++abi.dylib handler threw exception

    在iOS开发时,有时候遇到libc++abi.dylib handler threw exception这样的异常,  虽然在断点出加上了All Exceptions,也断到相应的代码了,但是没打印对 ...

  8. libc++abi.dylib: terminate_handler unexpectedly threw an exception错误小结

    说法一: 我们在运行xcode工程时,有时候会遇到”libc++abi.dylib: terminate_handler unexpectedly threw an exception”错误,app莫 ...

  9. 综合出现NSScanner: nil string argument libc++abi.dylib: terminat错误的解决方案

    在开发中出现了这个错误,断点查找很久,没找到问题所在的代码,google下,发现了下面这几点会产生这个错误: 首先,顾名思义,错误原因是我们在调用某个方法的时候,传入了一个空字符串(注意区别于字符串内 ...

随机推荐

  1. Codeforces Round #433 (Div. 2, based on Olympiad of Metropolises) D. Jury Meeting(双指针模拟)

    D. Jury Meeting time limit per test 1 second memory limit per test 512 megabytes input standard inpu ...

  2. Linux系统的目录结构及各目录作用

    使用tree命令查看Linux目录结构,这个命令默认是没有安装的,需要手动安装一下. [root@xuexi xf]# mount /dev/sr0 /media/ mount: /dev/sr0 写 ...

  3. CentOS7和CentOS6的主要区别

    了解一下就好 1.  文件系统的区别.CentOS6默认使用的是ext4的文件系统,而CentOS7使用的是xfs. 2.  硬盘默认调度算法不一样.CentOS6默认使用的是cfq,而CentOS7 ...

  4. ubuntu14.04下安装爬虫工具scrapy

    scrapy是目前准备要学习的爬虫框架,其在ubuntu14.04下的安装过程如下: ubuntu14.04下默认安装了2.7的python以及setuptools,若未安装,可通过下面指令安装: s ...

  5. 【转载】Virtual Box下配置Host-Only联网方式详解

    其实网络这类相关的文章很多,我只是想结合自己的实际情况,把我的经验写下来,给那些需要的人们吧. 主机:windows 7 虚拟机:CentOS6.0 VirtualBox:4.2.0 虚拟机在安装好之 ...

  6. [JSOI2017]原力(分块+map(hash))

    题目描述 一个原力网络可以看成是一个可能存在重边但没有自环的无向图.每条边有一种属性和一个权值.属性可能是R.G.B三种当中的一种,代表这条边上 原力的类型.权值是一个正整数,代表这条边上的原力强度. ...

  7. AtCoder - 3939 Strange Nim

    Problem Statement Takahashi and Aoki are playing a stone-taking game. Initially, there are N piles o ...

  8. 【推导】计蒜客17119 2017 ACM-ICPC 亚洲区(西安赛区)网络赛 F. Trig Function

    题意:给你n,m,让你求cos(nx)的展开式的(cos(x))^m项的系数. 更一般的式子是这样的:. 队友的代码: #include<cstdio> #include<algor ...

  9. Linux虚拟化技术KVM、QEMU与libvirt的关系(转)

    说明:个人理解,KVM是内核虚拟化技术,而内核是不能使用在界面上使用的,那么此时QEMU提供了用户级别的使用界面,相互辅助.当然,单独使用QEMU也是可以实现一整套虚拟机,不过QEMU+KVM基本是标 ...

  10. .NET开源免费的功能强大控件库

    通信工具IM控件: http://www.cnblogs.com/hubro/p/4316315.html 360安全卫士及QQ部分控件经典皮肤下载 http://www.sufeinet.com/t ...