IOS Exception 1(libc++abi.dylib: terminating with uncaught exception of type NSException)

摘要:
2014-08-0522:18:46.455SwiftUI[1329:40871]-[_TtC7SwiftUI14ViewControlerclickMe]:未识别的选民发送到实例0x10ea15dc02014-08-0522:1:18:46.458SwiftUI[3329:40871]***因以下原因终止应用

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)》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇PCB文件过大的解决方法手把手教你 用 wpf 制作metro ProgressRing (Windows8 等待动画)下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

随便看看

RedisTemplate

在SpringBoot@RequestMapping(“/del/{key}”)publicStringdel(@PathVariable(“key”)Stringkey){try{//当该键不存在时,异常redisTemplate.delete(key);return“Success”;}将不会引发catch(Exceptione){returne.get...

更改nexus的工作目录

默认情况下,nexus的工作目录位于${user_home}/sonatype工作目录中。在Linux中,如果用户是root用户,则使用/root/sonatype。这便于通过war将nexus安装到servlet容器中,但不利于服务器的集中管理。这需要更改默认的nexus工作目录位置。为了方便管理,您可以选择使用环境变量。...

电脑不识别USB blaster驱动问题

电脑不识别USB blaster,如下图: 解决办法:手动更新...

WPF绑定功能常用属性介绍

这是实质上是System.Windows.Data.BindingMode.OneWay绑定的一种简化形式,它在源值不更改的情况下提供更好的性能。确定依赖属性绑定在默认情况下是单向还是双向的编程方法是:使用System.Windows.DependencyProperty.GetMetadata获取属性的属性元数据,然后检查System.Windows.Fr...

【Lua】使用随机数(转)

游戏中有一个用于创建角色的随机命名功能,它使用随机数。我在网上找到一篇关于在Lua使用随机数的文章。标记它。Lua需要两个函数来生成随机数:数学。randomseed,数学。数学随机种子接收整数n作为随机序列种子。将系统时间视为随机种子是很自然的,也就是说,数学随机——然后连续生成i=1,5do打印结束的随机数,但问题出现了。如果程序在短时间内运行几次,您得...

JavaMail给QQ邮箱发邮件报错

org.springframework.mail.MailAuthenticationException:身份验证失败;nestedexceptionisjavax.mail.AuthenticationFailedException:535错误:http://service.mail.qq.com/cgi-bin/help?subtype=1&&a...