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. HDU 5669 Road(线段树建树)(分层图最短路)

    题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5669 [分析]线段树建树+分层图最短路 #include <cstdio> #includ ...

  2. Xamarin.Forms教程下载安装Visual Studio 2015

    Xamarin.Forms教程下载安装Visual Studio 2015 下载安装Visual Studio 2015 Visual Studio 2015是微软提供的IDE,其中集成了Window ...

  3. Standard Java集合类问题待整理

    1. HashSet.LinkedHashSet和TreeSet HashSet采用散列函数对元素进行排序,是专门为快速查询而设计的.存入HashSet的对象必须定义hashCode方法. TreeS ...

  4. 将springboot配置文件中的值注入到静态变量

    SpringBoot配置文件分为.properties和.yml两种格式,根据启动环境的不同获取不同环境的的值. spring中不支持直接注入静态变量值,利用spring的set注入方法注入静态变量 ...

  5. Problem C: 更改大小写

    #include<stdio.h> int main() { ; ]; gets(a); while(a[i]!='\0') { ; ++i; } printf("%s" ...

  6. Problem E: 调用函数,整数逆序输出

    #include<stdio.h> int reverse(int number)//定义函数 { ;//result用于储存结果 ) { result=result*; i=number ...

  7. opensuse语言环境和中文输入法

    Auth: JinDate: 20140414 版本:13.1 步骤 1.安装opensuse 语言选择英文 2.设置最近的源 比如sohu,163 3.update 4.Control Center ...

  8. vs code 使用Git进行源代码管理

    第一步:用vs code 打开一个空文件夹,如本示例Demo2, 第二步:点击左侧第三个图标“源代码管理”,然后再点击初始化存储库按钮 初始化之后界面现变成下图所示: 此时文件夹中会新增一个隐藏文件夹 ...

  9. 以下内容为Stackoverflow上整理以作纪录

    PRO 用IMG标签 Use IMG plus alt attribute if the image is part of the content such as a logo or diagram ...

  10. 《Word排版艺术》读后感,兼谈LaTeX

    我有两年多的LaTeX使用经验,用它排实验报告.毕业论文和书籍(半本):Word的使用时间长一些,但真正用好也不过是近一两年的事.这两个软件我都 用得很熟,我想我可以一边谈谈读<Word排版艺术 ...