【发布时间】:2016-10-06 17:37:28
【问题描述】:
在调用 uibutton 时在订阅方法上应用程序崩溃并在堆栈中给出以下错误。
ncaught exception: +[NSDate act_secondsSince1970]: unrecognized selector sent to class 0x10dd06e08
2016-10-06 23:05:36.594 Mamabear[32867:217553] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9843)
2016-10-06 23:05:36.773 Mamabear[32867:217563] CoreData: warning: Unable to load class named 'GAIProperty' for entity 'GAIProperty'. Class not found, using default NSManagedObject instead.
2016-10-06 23:05:36.774 Mamabear[32867:217563] CoreData: warning: Unable to load class named 'GAIHit' for entity 'GAIHit'. Class not found, using default NSManagedObject instead.
2016-10-06 23:05:37.701 Mamabear[32867:217449] -[UIButton rac_signalForControlEvents:]: unrecognized selector sent to instance 0x7f81a296c850
libc++abi.dylib: terminate_handler unexpectedly threw an exception
(lldb)
应用程序在该行崩溃。见下文:
[[_loginButton rac_signalForControlEvents:UIControlEventTouchUpInside]
subscribeNext:^(id x) {
[[MBAnalyticsHTTPClient sharedClient] capture:[AnalyticsModel initWithContext:@"welcome_to_mamabear" action:@"log_in_as_guardian"]];
}];
【问题讨论】:
标签: ios objective-c reactive-cocoa